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

            Bug ID: 102415
           Summary: [12 Regression] ICE in bb_seq_addr, at gimple.h:1786
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gs...@t-online.de
  Target Milestone: ---

Started between 20210808 and 20210822 :


$ cat z1.c
void abort ();
void f ()
{
  #pragma omp scope nowait
  abort ();
}


$ gcc-12-20210919 -c z1.c -fopenmp
during GIMPLE pass: ompexp
z1.c: In function 'f':
z1.c:4:11: internal compiler error: Segmentation fault
    4 |   #pragma omp scope nowait
      |           ^~~
0xbdd88f crash_signal
        ../../gcc/toplev.c:328
0x176a67a bb_seq_addr
        ../../gcc/gimple.h:1786
0x176a67a gsi_last_bb
        ../../gcc/gimple-iterator.h:164
0x176a67a gsi_last_nondebug_bb
        ../../gcc/gimple-iterator.h:306
0x176a67a expand_omp_single
        ../../gcc/omp-expand.c:8441
0x176a67a expand_omp
        ../../gcc/omp-expand.c:10246
0x176c63d execute_expand_omp
        ../../gcc/omp-expand.c:10467

Reply via email to