This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/30494] ICE with VLA and openmp



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]