This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/51966] [4.6/4.7 Regression] ICE in gfc_conv_array_constructor_expr
- From: "burnus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 25 Jan 2012 08:12:02 +0000
- Subject: [Bug fortran/51966] [4.6/4.7 Regression] ICE in gfc_conv_array_constructor_expr
- Auto-submitted: auto-generated
- References: <bug-51966-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51966
--- Comment #7 from Tobias Burnus <burnus at gcc dot gnu.org> 2012-01-25 08:12:02 UTC ---
Author: burnus
Date: Wed Jan 25 08:11:56 2012
New Revision: 183511
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=183511
Log:
2012-01-25 Tobias Burnus <burnus@net-b.de>
PR fortran/51966
* resolve.c (resolve_structure_cons): Only create an
array constructors for nonscalars.
2012-01-25 Tobias Burnus <burnus@net-b.de>
PR fortran/51966
* gfortran.dg/derived_constructor_char_3.f90: New.
Added:
branches/gcc-4_6-branch/gcc/testsuite/gfortran.dg/derived_constructor_char_3.f90
Modified:
branches/gcc-4_6-branch/gcc/fortran/ChangeLog
branches/gcc-4_6-branch/gcc/fortran/resolve.c
branches/gcc-4_6-branch/gcc/testsuite/ChangeLog