http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50050

--- Comment #15 from Mikael Morin <mikael at gcc dot gnu.org> 2011-09-01 
19:20:05 UTC ---
Author: mikael
Date: Thu Sep  1 19:19:55 2011
New Revision: 178427

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=178427
Log:
2011-09-01  Mikael Morin  <mikael.mo...@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.mo...@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_4-branch/gcc/testsuite/gfortran.dg/alloc_comp_initializer_3.f90
    branches/gcc-4_4-branch/gcc/testsuite/gfortran.dg/pointer_comp_init_1.f90
Modified:
    branches/gcc-4_4-branch/gcc/fortran/ChangeLog
    branches/gcc-4_4-branch/gcc/fortran/resolve.c
    branches/gcc-4_4-branch/gcc/testsuite/ChangeLog

Reply via email to