This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/50050] Internal compiler error free_expr0 at expr.c:3709 via gfc_done_2
- From: "mikael at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 01 Sep 2011 15:52:42 +0000
- Subject: [Bug fortran/50050] Internal compiler error free_expr0 at expr.c:3709 via gfc_done_2
- Auto-submitted: auto-generated
- References: <bug-50050-4@http.gcc.gnu.org/bugzilla/>
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