------- Comment #16 from jv244 at cam dot ac dot uk 2009-06-06 07:08 ------- (In reply to comment #13) > Subject: Bug 40168
Richard, this empty constructor patch was also OKed for 4.4 and has been on mainline for a while. http://gcc.gnu.org/ml/fortran/2009-05/msg00288.html Do you intend to commit this to 4.4.1? Joost > > Author: rguenth > Date: Mon May 18 10:24:34 2009 > New Revision: 147659 > > URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=147659 > Log: > 2009-05-18 Richard Guenther <rguent...@suse.de> > > PR fortran/40168 > * trans-expr.c (gfc_trans_zero_assign): For local array > destinations use an assignment from an empty constructor. > > * gfortran.dg/array_memset_2.f90: Adjust. > > Modified: > trunk/gcc/fortran/ChangeLog > trunk/gcc/fortran/trans-expr.c > trunk/gcc/testsuite/ChangeLog > trunk/gcc/testsuite/gfortran.dg/array_memset_2.f90 > -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40168