http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46874
Tobias Burnus <burnus at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |openmp
CC| |burnus at gcc dot gnu.org
Summary|internal compiler error: in |[OpenMP] ICE in
|gfc_conv_descriptor_data_ge |gfc_conv_descriptor_data_ge
|t, at |t, at
|fortran/trans-array.c:147 |fortran/trans-array.c:147
--- Comment #2 from Tobias Burnus <burnus at gcc dot gnu.org> 2010-12-09
21:49:00 UTC ---
When compiling with GCC 4.3 (OpenMP 2.5), one gets the error:
!$OMP PARALLEL DO PRIVATE(I) SHARED(X, N) REDUCTION(+:A) REDUCTION(MIN:B)
1
Error: REDUCTION clause object 'a' is ALLOCATABLE at (1)
Seemingly, this restriction has been lifted in OpenMPv3.0 (new in GCC 4.4) - or
at least the check has been removed. In any case, with GCC 4.4 to 4.6 and with
ifort 11.1 one gets an ICE.