This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/37011] New: F2003, type extension: multiple inheritence not rejected
- From: "dfranke at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Aug 2008 23:53:07 -0000
- Subject: [Bug fortran/37011] New: F2003, type extension: multiple inheritence not rejected
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
F2003, sec. 4.5.1 (derived type definition): EXTENDS is an attribute that can
not be specified more than once. Currently (20080803), gfortran accepts:
TYPE :: b
INTEGER :: i
END TYPE
TYPE, EXTENDS(b), EXTENDS(b) :: d
INTEGER :: j
END TYPE
--
Summary: F2003, type extension: multiple inheritence not rejected
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Keywords: accepts-invalid
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dfranke at gcc dot gnu dot org
OtherBugsDependingO 20585
nThis:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37011