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

            Bug ID: 98183
           Summary: [9/10/11 Regression] ICE in expand_gimple_stmt_1, at
                    cfgexpand.c:3972
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gs...@t-online.de
  Target Milestone: ---

Using testfile gcc/testsuite/c-c++-common/goacc/host_data-1.c
at -O0 affects versions down to gcc-6 (accepted by gcc-5) :


$ gcc-5           -c host_data-1.c -fopenacc -fexceptions -O0
$ gcc-11-20201206 -c host_data-1.c -fopenacc -fexceptions -O1
$
$ gcc-11-20201206 -c host_data-1.c -fopenacc -fexceptions -O0
during RTL pass: expand
host_data-1.c: In function 'foo':
host_data-1.c:25:1: internal compiler error: in expand_gimple_stmt_1, at
cfgexpand.c:3972
   25 | foo (float *x, float *y, float *yy)
      | ^~~
0x75312c expand_gimple_stmt_1
        ../../gcc/cfgexpand.c:3972
0x75312c expand_gimple_stmt
        ../../gcc/cfgexpand.c:3999
0x758257 expand_gimple_basic_block
        ../../gcc/cfgexpand.c:6043
0x75a8ee execute
        ../../gcc/cfgexpand.c:6727

Reply via email to