public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug analyzer/108524] New: -Wanalyzer-infinite-recursion false positives seen in qemu's JSON parser
@ 2023-01-24 17:27 dmalcolm at gcc dot gnu.org
  2023-01-25 17:25 ` [Bug analyzer/108524] " dmalcolm at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: dmalcolm at gcc dot gnu.org @ 2023-01-24 17:27 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108524

            Bug ID: 108524
           Summary: -Wanalyzer-infinite-recursion false positives seen in
                    qemu's JSON parser
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: analyzer
          Assignee: dmalcolm at gcc dot gnu.org
          Reporter: dmalcolm at gcc dot gnu.org
  Target Milestone: ---

Created attachment 54338
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54338&action=edit
Reproducer

Attached reproducer reports 4 warnings from GCC 13's new
-Wanalyzer-infinite-recursion on qemu's JSON parser. 

All of them seem to be false positives, in that tokens are being consumed
during the recursion:
  https://godbolt.org/z/KWbPTcMEd

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-01-26 14:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-24 17:27 [Bug analyzer/108524] New: -Wanalyzer-infinite-recursion false positives seen in qemu's JSON parser dmalcolm at gcc dot gnu.org
2023-01-25 17:25 ` [Bug analyzer/108524] " dmalcolm at gcc dot gnu.org
2023-01-26 14:13 ` cvs-commit at gcc dot gnu.org
2023-01-26 14:23 ` dmalcolm at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).