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