[Bug fortran/49417] New: [4.6/4.7 Regression] [OOP] ICE on invalid CLASS component declaration

janus at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jun 15 09:40:00 GMT 2011


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.



More information about the Gcc-bugs mailing list