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

--- Comment #1 from Zdenek Sojka <zsojka at seznam dot cz> ---
A simple C testcase:
$ cat testcase.c
void
foo (void)
{
  for (unsigned i = 0; i < sizeof (foo); i++)
    ;
}
$ x86_64-pc-linux-gnu-gcc -O -fsanitize=unreachable
-fsanitize-undefined-trap-on-error -fno-tree-ccp -fno-tree-dominator-opts
testcase.c
during GIMPLE pass: ivcanon
testcase.c: In function 'foo':
testcase.c:2:1: internal compiler error: in execute_todo, at passes.cc:2134
    2 | foo (void)
      | ^~~
0x755240 execute_todo
        /repo/gcc-trunk/gcc/passes.cc:2134
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.

Reply via email to