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

            Bug ID: 121754
           Summary: [16 Regression] Vectorizer ICE since
                    r16-3488-gb3355804c7054b
           Product: gcc
           Version: 16.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dhruvc at nvidia dot com
  Target Milestone: ---

Min repro:

===
float a;
float
fn1 (int *)
{
  for (int b; b; b++)
    {
      a = 01.;
      for (int c = 0; c < 2000; c++)
        a *= 0.99;
    }
}
void fn2 (float (int *));
void
main ()
{
  fn2 (fn1);
}
===

Command line: gcc -O3 -mcpu=neoverse-v2

Failure:

during GIMPLE pass: vect
<stdin>: In function ‘fn1’:
<stdin>:2:7: internal compiler error: Segmentation fault
0xf81f76bb73fb __libc_start_call_main
        ../sysdeps/nptl/libc_start_call_main.h:58
0xf81f76bb74cb __libc_start_main_impl
        ../csu/libc-start.c:392

Reply via email to