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/49417] New: [4.6/4.7 Regression] [OOP] ICE on invalid CLASS component declaration


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

           Summary: [4.6/4.7 Regression] [OOP] ICE on invalid CLASS
                    component declaration
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: janus@gcc.gnu.org


Reported by Andrew Benson at
http://gcc.gnu.org/ml/fortran/2011-06/msg00119.html:


module Nodes

 type :: nodeWrapper
 end type nodeWrapper

 type, extends(nodeWrapper) :: treeNode
    class(nodeWrapper) :: subComponent
 end type treeNode

end module Nodes


ICEs with 4.6 and 4.7 trunk, while it is correctly rejected with 4.5.


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