[Bug fortran/55282] [OOP] openmp directive and classes

janus at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Nov 12 14:47:00 GMT 2012


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

--- Comment #2 from janus at gcc dot gnu.org 2012-11-12 14:47:11 UTC ---
(In reply to comment #1)
> Note that Fortran 2003 is not supported in OpenMP 3.1. This may change with
> OpenMP 4, but I'm not sure of that.

Just checked: The public RC at http://openmp.org/wp/openmp-specifications/ says
the following:

This OpenMP API specification refers to ISO/IEC 1539-1:2004 as Fortran 2003.
The
following features are not supported:
 * ...
 * Polymorphic entities
 * ...

So, it looks like CLASS declarations are still not allowed in OpenMP 4. Too
bad!



More information about the Gcc-bugs mailing list