http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58470
janus at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[OOP] ICE on invalid with |[4.9 Regression] [OOP] ICE |FINAL procedure and type |on invalid with FINAL |extension |procedure and type | |extension --- Comment #2 from janus at gcc dot gnu.org --- I think the problem is that generate_finalization_wrapper is called before gfc_resolve_finalizers. I am marking this as a regression, since 4.8 gives the correct error message.