This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/41650] New: [Cleanup] Use gfc_expr_attr in resolve_allocate_expr/resolve_deallocate_expr
- From: "burnus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Oct 2009 20:58:24 -0000
- Subject: [Bug fortran/41650] New: [Cleanup] Use gfc_expr_attr in resolve_allocate_expr/resolve_deallocate_expr
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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