This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/58754] [4.9/5 Regression] ICE on allocating character array with source
- From: "pault at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 22 Oct 2015 18:05:53 +0000
- Subject: [Bug fortran/58754] [4.9/5 Regression] ICE on allocating character array with source
- Auto-submitted: auto-generated
- References: <bug-58754-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58754
--- Comment #13 from Paul Thomas <pault at gcc dot gnu.org> ---
Author: pault
Date: Thu Oct 22 18:05:21 2015
New Revision: 229179
URL: https://gcc.gnu.org/viewcvs?rev=229179&root=gcc&view=rev
Log:
2015-10-22 Paul Thomas <pault@gcc.gnu.org>
PR fortran/58754
* trans-stmt.c (gfc_trans_allocate): Do not use the scalar
character assignment if the allocate expression is an array
descriptor.
2015-10-22 Paul Thomas <pault@gcc.gnu.org>
PR fortran/58754
* gfortran.dg/pr58754.f90: New test
Added:
branches/gcc-5-branch/gcc/testsuite/gfortran.dg/pr58754.f90
Modified:
branches/gcc-5-branch/gcc/fortran/ChangeLog
branches/gcc-5-branch/gcc/fortran/trans-stmt.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog