[Bug fortran/59525] New: Inheritance problems
sarantis.pantazis at gmail dot com
gcc-bugzilla@gcc.gnu.org
Mon Dec 16 12:08:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59525
Bug ID: 59525
Summary: Inheritance problems
Product: gcc
Version: 4.8.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: sarantis.pantazis at gmail dot com
I have some problems with inheritance.
In particular, I can not allocate an allocatable class variable to a child type
(the extra components are not recognized by the compiler).
Attached is a minimal working example.
The error message is the following:
testInheritance.f08:25.23:
write(*,*) bla%i, bla%j
Error: 'j' at (1) is not a member of the 'mytype' structure
More information about the Gcc-bugs
mailing list