[Bug fortran/83522] ICE on invalid allocatable string reference, string(:)(:)

2018-10-11 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83522 --- Comment #15 from Tobias Burnus --- Author: burnus Date: Thu Oct 11 19:37:28 2018 New Revision: 265059 URL: https://gcc.gnu.org/viewcvs?rev=265059&root=gcc&view=rev Log: 2018-10-11 Tobias Burnus Revert: 2018-10-09 Tobias B

[Bug fortran/83522] ICE on invalid allocatable string reference, string(:)(:)

2018-10-11 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83522 --- Comment #14 from Dominique d'Humieres --- > By the way, the original problem is fixed on trunk by one of my recent > deferred length character patches. You will note that some of the failing > testcases (eg. deferred_character_2[2,3].f90 test

[Bug fortran/83522] ICE on invalid allocatable string reference, string(:)(:)

2018-10-11 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83522 --- Comment #13 from Paul Thomas --- > Thus the patch is contrary to the standard and must be removed as soon > as possible. > > Paul By the way, the original problem is fixed on trunk by one of my recent deferred length character patches. You

[Bug fortran/83522] ICE on invalid allocatable string reference, string(:)(:)

2018-10-11 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83522 Paul Thomas changed: What|Removed |Added CC||pault at gcc dot gnu.org --- Comment #12 f

[Bug fortran/83522] ICE on invalid allocatable string reference, string(:)(:)

2018-10-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83522 --- Comment #11 from Jakub Jelinek --- I admit I'm not a Fortran language lawyer, but I actually don't see why (:)(:) is invalid. It is not a substring non-terminal in that case, sure, because R908/R909 require parent-string to be array-element o

[Bug fortran/83522] ICE on invalid allocatable string reference, string(:)(:)

2018-10-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83522 --- Comment #10 from Jakub Jelinek --- Not just a note, above that 9.9 note there is a normative text: "If a substring-range appears in an array-section, each element is the designated substring of the corresponding element of the array section."

[Bug fortran/83522] ICE on invalid allocatable string reference, string(:)(:)

2018-10-11 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83522 --- Comment #9 from Dominique d'Humieres --- > This patch caused lots of regressions in the testsuite, see e.g. > http://gcc.gnu.org/ml/gcc-regression/2018-10/msg00062.html See pr87577. This patch will likely break some more codes, e.g., pr87575

[Bug fortran/83522] ICE on invalid allocatable string reference, string(:)(:)

2018-10-09 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83522 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #8

[Bug fortran/83522] ICE on invalid allocatable string reference, string(:)(:)

2018-10-09 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83522 --- Comment #7 from Tobias Burnus --- Author: burnus Date: Tue Oct 9 18:03:31 2018 New Revision: 264990 URL: https://gcc.gnu.org/viewcvs?rev=264990&root=gcc&view=rev Log: 2018-10-09 Tobias Burnus PR fortran/83522 * resolve.c

[Bug fortran/83522] ICE on invalid allocatable string reference, string(:)(:)

2018-10-08 Thread anlauf at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83522 Harald Anlauf changed: What|Removed |Added CC||anlauf at gmx dot de --- Comment #6 from

[Bug fortran/83522] ICE on invalid allocatable string reference, string(:)(:)

2018-10-08 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83522 --- Comment #5 from Tobias Burnus --- (In reply to Tobias Burnus from comment #3) Crossref: Patch fails for gfortran.dg/actual_array_substr_2.f90 for PR fortran/28118 which uses: call bar ((a(:)(7:11))) and likewise for PR fortran/28174's gcc/

[Bug fortran/83522] ICE on invalid allocatable string reference, string(:)(:)

2018-10-08 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83522 --- Comment #4 from Tobias Burnus --- (In reply to Tobias Burnus from comment #3) > And prints for the case above (not affected by resolve.c patch): > 7 | strings(:)(:) ! gives an error message on invalid > Error: Invalid character in name at (

[Bug fortran/83522] ICE on invalid allocatable string reference, string(:)(:)

2018-10-08 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83522 Tobias Burnus changed: What|Removed |Added CC||burnus at gcc dot gnu.org --- Comment #3

[Bug fortran/83522] ICE on invalid allocatable string reference, string(:)(:)

2018-10-05 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83522 Jerry DeLisle changed: What|Removed |Added Status|ASSIGNED|NEW