This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/50050] Internal compiler error free_expr0 at expr.c:3709 via gfc_done_2


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

--- Comment #14 from Mikael Morin <mikael at gcc dot gnu.org> 2011-09-01 15:52:42 UTC ---
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]