This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/41113] spurious _gfortran_internal_pack
- From: "dominiq at lps dot ens dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Feb 2010 20:16:40 -0000
- Subject: [Bug fortran/41113] spurious _gfortran_internal_pack
- References: <bug-41113-6642@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #21 from dominiq at lps dot ens dot fr 2010-02-14 20:16 -------
The ICEs are fixed by the last change in
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36932#c8 :
@@ -5548,7 +5550,8 @@ gfc_conv_array_parameter (gfc_se * se, g
}
if (contiguous && g77 && !this_array_result
- && !expr->symtree->n.sym->attr.dummy)
+ && expr->symtree->n.sym->as
+ && expr->symtree->n.sym->as->type != AS_ASSUMED_SHAPE)
{
gfc_conv_expr_descriptor (se, expr, ss);
if (expr->ts.type == BT_CHARACTER)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41113