[Bug fortran/41494] [4.5 Regression] temp and memcpy used when zeroing array
burnus at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Oct 1 16:43:00 GMT 2009
------- Comment #3 from burnus at gcc dot gnu dot org 2009-10-01 16:43 -------
> I wonder why it uses the extra temporary - that shouldn't be necessary.
The big question is only: Are there cases where one needs to call
gfc_evaluate_now?
* * *
For completeness, that part was added by the commits:
http://gcc.gnu.org/viewcvs?view=revision&revision=150817
2009-08-17 Richard Guenther <rguenther@suse.de>
* trans-expr.c (gfc_trans_scalar_assign): Replace hack with
more proper hack.
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=151576
2009-09-09 Richard Guenther <rguenther@suse.de>
PR fortran/41297
* trans-expr.c (gfc_trans_scalar_assign): Correct typo that
left 'tmp' unused in derived type assignment.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41494
More information about the Gcc-bugs
mailing list