This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r178424 - in /branches/gcc-4_5-branch/gcc: fort...
- From: mikael at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Thu, 01 Sep 2011 15:52:39 -0000
- Subject: r178424 - in /branches/gcc-4_5-branch/gcc: fort...
Author: mikael
Date: Thu Sep 1 15:52:39 2011
New Revision: 178424
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=178424
Log:
2011-09-01 Mikael Morin <mikael.morin@sfr.fr>
PR fortran/50050
* resolve.c (gfc_expr_to_initialize): Don't copy rank.
Free copied shape. Recalculate shape and rank.
2011-09-01 Mikael Morin <mikael.morin@sfr.fr>
PR fortran/50050
* gfortran.dg/alloc_comp_initializer_3.f90: New test.
* gfortran.dg/pointer_comp_init.f90: New test.
Added:
branches/gcc-4_5-branch/gcc/testsuite/gfortran.dg/alloc_comp_initializer_3.f90
branches/gcc-4_5-branch/gcc/testsuite/gfortran.dg/pointer_comp_init_1.f90
Modified:
branches/gcc-4_5-branch/gcc/fortran/ChangeLog
branches/gcc-4_5-branch/gcc/fortran/resolve.c
branches/gcc-4_5-branch/gcc/testsuite/ChangeLog