For SAME_TYPE_AS and EXTENDS_TYPE_OF one should add a compile-time simplification to simplify.c
Cf. also review comments at http://gcc.gnu.org/ml/fortran/2009-09/msg00298.html -- Summary: [OOP] SAME_TYPE_AS and EXTENDS_TYPE_OF - add compile- time simplifcation Product: gcc Version: 4.5.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: burnus at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41580