[Bug middle-end/78884] New: ICE when gimplifying VLA in OpenMP SIMD region
amonakov at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Dec 21 13:15:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78884
Bug ID: 78884
Summary: ICE when gimplifying VLA in OpenMP SIMD region
Product: gcc
Version: 7.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code, openmp
Severity: normal
Priority: P3
Component: middle-end
Assignee: unassigned at gcc dot gnu.org
Reporter: amonakov at gcc dot gnu.org
Target Milestone: ---
Noticed this ICE when looking at OpenMP gimplification/lowering:
void use(int*);
void f(int n)
{
#pragma omp simd
for (int i=0; i<1024; i++)
{
int t[n];
use(t);
}
}
$ gcc/cc1 -fopenmp t.c
will ICE (segfault) in omp_add_variable() due to NULL DECL_VALUE_EXPR on 't'.
More information about the Gcc-bugs
mailing list