[Bug fortran/38724] Segfault caused by derived-type with allocatable component in private clause
janus at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Aug 12 13:05:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38724
janus at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |accepts-invalid
Status|UNCONFIRMED |NEW
Last reconfirmed| |2013-08-12
Component|libgomp |fortran
Ever confirmed|0 |1
--- Comment #8 from janus at gcc dot gnu.org ---
(In reply to Steve Kargl from comment #6)
> I agree gfortran should reject the program until we have some idea of
> the behavior with regards to OpenMP 4.0.
It seems that the final OpenMP 4.0 specification does not support allocatable
components. In particular it lists "Allocatable enhancement" as unsupported,
which supposedly refers to TR 15581 and therefore includes alloc. comp., see
http://openmp.org/wp/openmp-specifications/
So the test case should probably be rejected by the front end (alternatively:
support it as a GNU extension).
More information about the Gcc-bugs
mailing list