------- Comment #2 from burnus at gcc dot gnu dot org  2009-11-24 16:02 -------
Confirm. With "-fopenmp" it fails with:

test.f90:17:0: internal compiler error: tree check: expected tree that contains
'decl common' structure, have 'indirect_ref' in omp_add_variable, at
gimplify.c:5282

[In 4.3 and 4.4 it's in gimplify_omp_for (gimplify.c:5330 and gimplify.c:5861);
4.2 segfault here, but that might be a different problem.]


-- 

burnus at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|                            |ice-on-valid-code, openmp
   Last reconfirmed|0000-00-00 00:00:00         |2009-11-24 16:02:40
               date|                            |
            Summary|Internal compiler error     |OpenMP: ICE: tree check in
                   |while compiling simple      |omp_add_variable, at
                   |fortran code.               |gimplify.c:5282


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42162

Reply via email to