[Bug c/97862] New: [11 Regression] ICE in expand_omp_for_init_vars, at omp-expand.c:2524
gscfq@t-online.de
gcc-bugzilla@gcc.gnu.org
Mon Nov 16 19:05:13 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97862
Bug ID: 97862
Summary: [11 Regression] ICE in expand_omp_for_init_vars, at
omp-expand.c:2524
Product: gcc
Version: 11.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: gscfq@t-online.de
Target Milestone: ---
Changed between 20200705 and 20200712 :
$ cat z1.c
void f ()
{
int i, j;
#pragma omp for collapse(2)
for (i = 0; i < 1; ++i)
for (j = 0; j < i; ++j);
}
$ gcc-11-20200705 -c z1.c -fopenmp
$
$ gcc-11-20201115 -c z1.c -fopenmp
during GIMPLE pass: ompexp
z1.c: In function 'f':
z1.c:4:9: internal compiler error: Segmentation fault
4 | #pragma omp for collapse(2)
| ^~~
0xb3b52f crash_signal
../../gcc/toplev.c:330
0x145ebc6 expand_omp_for_init_vars
../../gcc/omp-expand.c:2524
0x146be17 expand_omp_for_static_nochunk
../../gcc/omp-expand.c:5261
0x1474b6c expand_omp_for
../../gcc/omp-expand.c:8006
0x147537a expand_omp
../../gcc/omp-expand.c:9883
0x147725d execute_expand_omp
../../gcc/omp-expand.c:10115
More information about the Gcc-bugs
mailing list