This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/37011] New: F2003, type extension: multiple inheritence not rejected


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]