[Bug fortran/67803] ICE on concatenating wrong character array constructor
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67803 --- Comment #1 from Gerhard Steinmetz --- Whereas : $ cat z2.f90 program p character(2) :: x(1) x = '0' // [character :: '1'] print *, x end $ gfortran -g -O0 -Wall -fcheck=all -fno-frontend-optimize z2.f90 $ a.out 01
[Bug fortran/67803] ICE on concatenating wrong character array constructor
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67803 Dominique d'Humieres changed: What|Removed |Added Keywords||ice-on-invalid-code Status|UNCONFIRMED |NEW Last reconfirmed||2015-10-01 Ever confirmed|0 |1 Known to fail||4.8.3, 4.9.3, 5.2.0, 6.0 --- Comment #2 from Dominique d'Humieres --- Confirmed from 4.8 up to trunk (6.0).
[Bug fortran/67803] ICE on concatenating wrong character array constructor
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67803 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |kargl at gcc dot gnu.org --- Comment #3 from kargl at gcc dot gnu.org --- I have an ugly patch for this one.
[Bug fortran/67803] ICE on concatenating wrong character array constructor
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67803 --- Comment #4 from kargl at gcc dot gnu.org --- Author: kargl Date: Sat Nov 14 17:31:16 2015 New Revision: 230379 URL: https://gcc.gnu.org/viewcvs?rev=230379&root=gcc&view=rev Log: 2015-11-14 Steven G. Kargl 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 PR fortran/67803 * gfortran.dg/pr67803.f90: New test. Added: trunk/gcc/testsuite/gfortran.dg/pr67803.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/array.c trunk/gcc/testsuite/ChangeLog
[Bug fortran/67803] ICE on concatenating wrong character array constructor
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 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 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
[Bug fortran/67803] ICE on concatenating wrong character array constructor
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67803 kargl at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED Target Milestone|--- |5.3 --- Comment #6 from kargl at gcc dot gnu.org --- Fixed on trunk and 5-branch. Thanks for the bug report.