From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22987 invoked by alias); 12 Nov 2012 14:36:05 -0000 Received: (qmail 21158 invoked by uid 48); 12 Nov 2012 14:35:46 -0000 From: "janus at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/55282] [OOP] openmp directive and classes Date: Mon, 12 Nov 2012 14:36:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: janus at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: CC Summary Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2012-11/txt/msg01023.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D55282 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.=20 > The problem seems to be in the class definition of the variable "this"=20 > (works fine while declared as type). > > [...] >=20 > bug.f90: In function =E2=80=98prog=E2=80=99: > bug.f90:21:0: error: =E2=80=98__vtab_mod_My_t=E2=80=99 not specified in e= nclosing 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.