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

            Bug ID: 110112
           Summary: [11/12/13 Regression] gcc -fanalyzer takes an
                    excessive amount of time
           Product: gcc
           Version: 13.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: analyzer
          Assignee: dmalcolm at gcc dot gnu.org
          Reporter: bruno at clisp dot org
  Target Milestone: ---

Created attachment 55253
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55253&action=edit
test case uniname.c (compressed)

In a compilation unit with some large read-only static arrays, "gcc -fanalyzer"
takes an excessive amount of time: 66 seconds as opposed to less than 1 second
without '-fanalyzer'.

How to reproduce:
$ time gcc -O2 -c uniname.c 

real    0m0,819s
user    0m0,797s
sys     0m0,012s

$ time gcc -O2 -fanalyzer -c uniname.c 
<two warnings>

real    1m6,195s
user    1m6,101s
sys     0m0,088s

Reply via email to