This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/67803] ICE on concatenating wrong character array constructor
- From: "kargl at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 14 Nov 2015 17:43:47 +0000
- Subject: [Bug fortran/67803] ICE on concatenating wrong character array constructor
- Auto-submitted: auto-generated
- References: <bug-67803-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67803
--- Comment #5 from kargl at gcc dot gnu.org ---
Author: kargl
Date: Sat Nov 14 17:43:15 2015
New Revision: 230380
URL: https://gcc.gnu.org/viewcvs?rev=230380&root=gcc&view=rev
Log:
2015-11-14 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/67803
* array.c (gfc_match_array_constructor): If array constructor included
a CHARACTER typespec, check array elements for compatible type.
2015-11-14 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/67803
* gfortran.dg/pr67803.f90: New test.
Added:
branches/gcc-5-branch/gcc/testsuite/gfortran.dg/pr67803.f90
Modified:
branches/gcc-5-branch/gcc/fortran/ChangeLog
branches/gcc-5-branch/gcc/fortran/array.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog