This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/59525] New: Inheritance problems
- From: "sarantis.pantazis at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 16 Dec 2013 12:08:16 +0000
- Subject: [Bug fortran/59525] New: Inheritance problems
- Auto-submitted: auto-generated
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