[Bug fortran/52393] I/O: "READ format" statement with parenthesed default-char-expr

2016-06-02 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52393 Jerry DeLisle changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug fortran/52393] I/O: "READ format" statement with parenthesed default-char-expr

2016-06-02 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52393 --- Comment #12 from Jerry DeLisle --- Author: jvdelisle Date: Fri Jun 3 01:25:31 2016 New Revision: 237051 URL: https://gcc.gnu.org/viewcvs?rev=237051=gcc=rev Log: 2016-06-02 Jerry DeLisle PR fortran/52393

[Bug fortran/52393] I/O: "READ format" statement with parenthesed default-char-expr

2016-06-01 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52393 --- Comment #11 from Jerry DeLisle --- Author: jvdelisle Date: Wed Jun 1 17:06:50 2016 New Revision: 237003 URL: https://gcc.gnu.org/viewcvs?rev=237003=gcc=rev Log: 2016-06-01 Jerry DeLisle PR fortran/52393

[Bug fortran/52393] I/O: "READ format" statement with parenthesed default-char-expr

2016-05-26 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52393 --- Comment #10 from Jerry DeLisle --- Created attachment 38577 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38577=edit Final patch, regression tested I will submit this patch to list for approval.

[Bug fortran/52393] I/O: "READ format" statement with parenthesed default-char-expr

2016-05-24 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52393 --- Comment #9 from Jerry DeLisle --- The following patch allows the program to compile. I just need to check the standard to confirm if the syntax in question also applies to WRITE. diff --git a/gcc/fortran/io.c b/gcc/fortran/io.c index

[Bug fortran/52393] I/O: "READ format" statement with parenthesed default-char-expr

2016-04-09 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52393 Jerry DeLisle changed: What|Removed |Added CC||jvdelisle at gcc dot gnu.org

[Bug fortran/52393] I/O: "READ format" statement with parenthesed default-char-expr

2016-04-06 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52393 --- Comment #7 from Dominique d'Humieres --- > The code in #5 is missing the initial parenthesised expression that exposes > the flaw in parsing logic - the left hand operand of the string concatenation > needs to be `('(')`, and not just the

[Bug fortran/52393] I/O: "READ format" statement with parenthesed default-char-expr

2016-04-06 Thread ian_harvey at bigpond dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52393 --- Comment #6 from Ian Harvey --- The code in #5 is missing the initial parenthesised expression that exposes the flaw in parsing logic - the left hand operand of the string concatenation needs to be `('(')`, and not just the string literal.

[Bug fortran/52393] I/O: "READ format" statement with parenthesed default-char-expr

2016-04-06 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52393 --- Comment #5 from Dominique d'Humieres --- Note that the following test compiles with gfortran from at least 4.8 up to trunk (6.0) PROGRAM ReadMeTwo IMPLICIT NONE CHARACTER(10) :: var READ '('//'A)', var PRINT *, var END PROGRAM

[Bug fortran/52393] I/O: READ format statement with parenthesed default-char-expr

2012-02-27 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52393 Tobias Burnus burnus at gcc dot gnu.org changed: What|Removed |Added Keywords||rejects-valid

[Bug fortran/52393] I/O: READ format statement with parenthesed default-char-expr

2012-02-27 Thread ian_harvey at bigpond dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52393 --- Comment #4 from Ian Harvey ian_harvey at bigpond dot com 2012-02-27 10:30:32 UTC --- Maybe there's some additional cleverness going on then, because the following equally contrived example: PROGRAM ReadMeOne IMPLICIT NONE CHARACTER(10)