[Bug fortran/52531] [OOP] Compilation fails with polymorphic dummy argument and OpenMP

janus at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Jun 9 09:35:00 GMT 2012


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

--- Comment #5 from janus at gcc dot gnu.org 2012-06-09 09:34:53 UTC ---
Note: Apart from the two workarounds mentioned in the test case, there is one
other possibility to make it work, namely to make 'bar' also polymorphic (like
the dummy 'var'), e.g.:

class(test_type), allocatable :: bar



More information about the Gcc-bugs mailing list