------- 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 <rguent...@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 <rguent...@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