[Bug fortran/46874] [OpenMP] ICE in gfc_conv_descriptor_data_get, at fortran/trans-array.c:147

kapinos at rz dot rwth-aachen.de gcc-bugzilla@gcc.gnu.org
Mon Dec 13 10:33:00 GMT 2010


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

--- Comment #3 from Paul <kapinos at rz dot rwth-aachen.de> 2010-12-13 10:33:02 UTC ---
Yes, the OpenMP Standard changed from 2.5 to 3.0 an describing reductions: 

2.5:
 Fortran pointers, Cray pointers, assumed-size arrays and allocatable arrays
may not appear in a reduction clause.


3.0:
 An original list item with the ALLOCATABLE attribute must be in the allocated
state at entry to the construct containing the reduction clause. Additionally,
the list item must not be deallocated and/or allocated within the region.
 Fortran pointers, Cray pointers and assumed-size arrays may not appear in a
 reduction clause.

and even more: be avare of changing this points regarding the REDUCTION clause
again. Such-called "User Definded Reductions" are in discussion now.



More information about the Gcc-bugs mailing list