This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/30494] ICE with VLA and openmp
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Jan 2007 10:13:34 -0000
- Subject: [Bug middle-end/30494] ICE with VLA and openmp
- References: <bug-30494-13936@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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