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.