[Bug fortran/43173] Unnecessary array temporary: Passing contiguous array as actual argument
burnus at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Mar 2 09:17:00 GMT 2010
------- Comment #7 from burnus at gcc dot gnu dot org 2010-03-02 09:16 -------
> I do not see the temporaries with [...] 4.5.0 20100214
> but I see this with [...] 4.5.0 20100227
I think the "regression" is due to:
http://gcc.gnu.org/viewcvs?view=revision&revision=156926
Namely due to the added "no_pack" logic in trans-arrays.c's
gfc_conv_array_parameter (as suggested in comment 0).
http://gcc.gnu.org/viewcvs/trunk/gcc/fortran/trans-array.c?r1=156926&r2=156925
That committal fixed PR 36932, PR 36933, PR 43072, and PR 43111.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43173
More information about the Gcc-bugs
mailing list