[Bug analyzer/96653] -Wanalyzer-too-complex on very large switch statement

dmalcolm at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Sep 14 16:46:47 GMT 2020


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

David Malcolm <dmalcolm at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Compile time and memory hog |-Wanalyzer-too-complex on
                   |w/ -O1 -fanalyzer           |very large switch statement

--- Comment #3 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
The compile-time/memory blow-up should be fixed by above commit.

However, I had to add -Wno-analyzer-too-complex to the testcase.  Keeping this
bug open to track that (updating bug title accordingly).


More information about the Gcc-bugs mailing list