This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/55282] [OOP] openmp directive and classes
- From: "janus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 12 Nov 2012 14:35:42 +0000
- Subject: [Bug fortran/55282] [OOP] openmp directive and classes
- Auto-submitted: auto-generated
- References: <bug-55282-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55282
janus at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |janus at gcc dot gnu.org
Summary|openmp directive and |[OOP] openmp directive and
|classes |classes
--- Comment #1 from janus at gcc dot gnu.org 2012-11-12 14:35:42 UTC ---
(In reply to comment #0)
> The following code doesnt compile at all with the lattest gfortran.
> The problem seems to be in the class definition of the variable "this"
> (works fine while declared as type).
>
> [...]
>
> bug.f90: In function âprogâ:
> bug.f90:21:0: error: â__vtab_mod_My_tâ not specified in enclosing parallel
This is a known problem, see PR 52531.
Note that Fortran 2003 is not supported in OpenMP 3.1. This may change with
OpenMP 4, but I'm not sure of that.