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: unassig...@gcc.gnu.org ReportedBy: ja...@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.