As suggested http://gcc.gnu.org/ml/fortran/2009-10/msg00098.html
When checking for the 'abstract' attribute in resolve_allocate_expr, one has to determine the attributes of the given expression. Couldn't this be done via 'gfc_expr_attr' or 'gfc_variable_attr', or is there something special about it? Similar things happen also in resolve_deallocate_expr, and it looks quite kludgy ... -- Summary: [Cleanup] Use gfc_expr_attr in resolve_allocate_expr/resolve_deallocate_expr Product: gcc Version: 4.5.0 Status: UNCONFIRMED 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=41650