[Bug fortran/56655] New: Associate construct with OpenMP triggers ICE
townsend at astro dot wisc.edu
gcc-bugzilla@gcc.gnu.org
Wed Mar 20 00:55:00 GMT 2013
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)
More information about the Gcc-bugs
mailing list