This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/56655] New: Associate construct with OpenMP triggers ICE
- From: "townsend at astro dot wisc.edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 20 Mar 2013 00:55:47 +0000
- Subject: [Bug fortran/56655] New: Associate construct with OpenMP triggers ICE
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56655
Bug #: 56655
Summary: Associate construct with OpenMP triggers ICE
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: townsend@astro.wisc.edu
Created attachment 29692
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29692
Test source file to reproduce the error
Attempting to compile the attached file with
gfortran -fopenmp -c openmp_ice.f90
...gives the following result:
openmp_ice.f90: In function âsubâ:
openmp_ice.f90:8:0: internal compiler error: in omp_add_variable, at
gimplify.c:5894
associate(x_a => x)
^
openmp_ice.f90:8:0: internal compiler error: Abort trap: 6
gfortran.exec: internal compiler error: Abort trap: 6 (program f951)
/Applications/madsdk/bin/gfortran: line 7: 16428 Abort trap: 6
/Applications/madsdk/bin/gfortran.exec -fopenmp -c openmp_ice.f90
This may be related to PR 56062. My system:
Using built-in specs.
COLLECT_GCC=/Applications/madsdk/bin/gfortran.exec
COLLECT_LTO_WRAPPER=/Applications/madsdk/libexec/gcc/x86_64-apple-darwin11.4.2/4.8.0/lto-wrapper
Target: x86_64-apple-darwin11.4.2
Configured with: ./configure CC='gcc -D_FORTIFY_SOURCE=0'
--build=x86_64-apple-darwin11.4.2 --prefix=/Applications/madsdk
--with-gmp=/Applications/madsdk --with-mpfr=/Applications/madsdk
--with-mpc=/Applications/madsdk --enable-languages=c,c++,fortran
--disable-multilib
Thread model: posix
gcc version 4.8.0 20130307 (experimental) (GCC)