[Bug middle-end/30494] ICE with VLA and openmp
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Jan 18 10:13:00 GMT 2007
------- Comment #1 from pinskia at gcc dot gnu dot org 2007-01-18 10:13 -------
Confirmed, reduced testcase (I thought I had asked about this interaction
before):
int Birkhoff_with_Vol_para(int n)
{
int I;
#pragma omp for
for(I = 0; I < 6; I++)
{
int v[n];
}
}
--------
This ICEs for both the C and C++ front-ends. Considering VLA is C99, we should
support this. Also I bet you can produce a fortran code which also ICEs.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Component|c++ |middle-end
Ever Confirmed|0 |1
GCC build triplet|4.2.0 20070102 (prerelease) |
GCC host triplet|x86_64-unknown-linux-gnu |
GCC target triplet|x86_64-unknown-linux-gnu |
Keywords| |openmp
Last reconfirmed|0000-00-00 00:00:00 |2007-01-18 10:13:33
date| |
Summary|internal compiler error: in |ICE with VLA and openmp
|gimplify_expr, at |
|gimplify.c:5979 [-fopenmp] |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30494
More information about the Gcc-bugs
mailing list