public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug analyzer/106413] New: State explosion on va_arg when va_start is in top-level function of analysis
@ 2022-07-22 15:01 dmalcolm at gcc dot gnu.org
  2022-07-22 21:40 ` [Bug analyzer/106413] " dmalcolm at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: dmalcolm at gcc dot gnu.org @ 2022-07-22 15:01 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 106413
           Summary: State explosion on va_arg when va_start is in
                    top-level function of analysis
           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: ---

I accidentally introduced:
  FAIL: gcc.dg/analyzer/stdarg-3.c (test for excess errors)
in r13-1786-gb852aa7f265424; the issue is a -Wanalyzer-too-complex warning.

Looks like there's a state explosion in -fanalyzer whenever there's a loop that
calls __builtin_va_arg for the case where the va_start is in the top-level
function of the analysis (i.e. that we *don't* have a specific list of variadic
arguments).

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

end of thread, other threads:[~2022-07-22 23:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-22 15:01 [Bug analyzer/106413] New: State explosion on va_arg when va_start is in top-level function of analysis dmalcolm at gcc dot gnu.org
2022-07-22 21:40 ` [Bug analyzer/106413] " dmalcolm at gcc dot gnu.org
2022-07-22 23:52 ` cvs-commit at gcc dot gnu.org
2022-07-22 23:58 ` 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).