[Bug analyzer/101837] New: ICE with -O3 -fsanitize=undefined -fanalyzer

eggert at cs dot ucla.edu gcc-bugzilla@gcc.gnu.org
Tue Aug 10 02:11:22 GMT 2021


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

            Bug ID: 101837
           Summary: ICE with -O3 -fsanitize=undefined -fanalyzer
           Product: gcc
           Version: 11.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: analyzer
          Assignee: dmalcolm at gcc dot gnu.org
          Reporter: eggert at cs dot ucla.edu
  Target Milestone: ---

Created attachment 51283
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51283&action=edit
Compile with "-O3 -fsanitize=undefined -fanalyzer -S" to reproduce the ICE

While building the time zone code I got an internal compiler error. This is
with cc (GCC) 11.2.1 20210728 (Red Hat 11.2.1-1) on Fedora 34 x86-64. Compile
the attached program u.c with:

cc -O3 -fsanitize=undefined -fanalyzer -S u.i

I briefly attempted to simplify u.c but the simplifications made the compiler
error go away.


More information about the Gcc-bugs mailing list