------- Comment #18 from rguenth at gcc dot gnu dot org 2009-06-14 13:39 ------- Subject: Bug 40168
Author: rguenth Date: Sun Jun 14 13:39:37 2009 New Revision: 148469 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=148469 Log: 2009-06-14 Richard Guenther <rguent...@suse.de> Backport from mainline 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: branches/gcc-4_4-branch/gcc/fortran/ChangeLog branches/gcc-4_4-branch/gcc/fortran/trans-expr.c branches/gcc-4_4-branch/gcc/testsuite/ChangeLog branches/gcc-4_4-branch/gcc/testsuite/gfortran.dg/array_memset_2.f90 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40168