This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/42162] OpenMP: ICE: tree check in omp_add_variable, at gimplify.c:5282
- From: "burnus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Nov 2009 16:02:40 -0000
- Subject: [Bug fortran/42162] OpenMP: ICE: tree check in omp_add_variable, at gimplify.c:5282
- References: <bug-42162-16293@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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