[Bug fortran/61933] Inquire on internal units

2015-01-18 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61933 --- Comment #13 from Joost VandeVondele --- (In reply to Jerry DeLisle from comment #12) > (In reply to Joost VandeVondele from comment #11) > > See patch here: > > https://gcc.gnu.org/ml/gcc-patches/2015-01/msg01616.html Thanks! One minor ni

[Bug fortran/61933] Inquire on internal units

2015-01-18 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61933 --- Comment #12 from Jerry DeLisle --- (In reply to Joost VandeVondele from comment #11) See patch here: https://gcc.gnu.org/ml/gcc-patches/2015-01/msg01616.html

[Bug fortran/61933] Inquire on internal units

2015-01-16 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61933 --- Comment #11 from Joost VandeVondele --- (In reply to Jerry DeLisle from comment #10) > It occurs to me another possible interpretation of what a unit existence > might be. > > Behind the scenes when opening a unit with no filename we create

[Bug fortran/61933] Inquire on internal units

2015-01-16 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61933 Jerry DeLisle changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED

[Bug fortran/61933] Inquire on internal units

2015-01-16 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61933 --- Comment #9 from Joost VandeVondele --- (In reply to Jerry DeLisle from comment #8) > You might notice that we redefined existence to be whether or not it is > connected. Units get connected when opened so your sample code needs only > ask:

[Bug fortran/61933] Inquire on internal units

2015-01-16 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61933 --- Comment #8 from Jerry DeLisle --- You might notice that we redefined existence to be whether or not it is connected. Units get connected when opened so your sample code needs only ask: IF ((.NOT.is_open).AND.(istat == 0)) RETURN Whether th

[Bug fortran/61933] Inquire on internal units

2015-01-15 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61933 --- Comment #7 from Joost VandeVondele --- Hi Jerry, thanks for the fix, but this seems to break code to find a free unit, like such: MODULE M CONTAINS FUNCTION get_unit_number(file_name) RESULT(unit_number) CHARACTER(LEN=*), INTENT(IN)

[Bug fortran/61933] Inquire on internal units

2015-01-14 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61933 Jerry DeLisle changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug fortran/61933] Inquire on internal units

2015-01-14 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61933 --- Comment #5 from Jerry DeLisle --- Author: jvdelisle Date: Thu Jan 15 04:06:02 2015 New Revision: 219632 URL: https://gcc.gnu.org/viewcvs?rev=219632&root=gcc&view=rev Log: 2015-01-14 Jerry DeLisle PR target/61933 * gfortran.dg/inq

[Bug fortran/61933] Inquire on internal units

2015-01-14 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61933 --- Comment #4 from Jerry DeLisle --- Author: jvdelisle Date: Thu Jan 15 03:57:29 2015 New Revision: 219631 URL: https://gcc.gnu.org/viewcvs?rev=219631&root=gcc&view=rev Log: 2015-01-14 Jerry DeLisle PR libgfortran/61933 * io/inquire

[Bug fortran/61933] Inquire on internal units

2015-01-14 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61933 --- Comment #3 from Jerry DeLisle --- Author: jvdelisle Date: Thu Jan 15 03:51:16 2015 New Revision: 219630 URL: https://gcc.gnu.org/viewcvs?rev=219630&root=gcc&view=rev Log: 2015-01-14 Jerry DeLisle PR fortran/61933 * io.c (gfc_matc

[Bug fortran/61933] Inquire on internal units

2014-08-27 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61933 Jerry DeLisle changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug fortran/61933] Inquire on internal units

2014-07-30 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61933 Joost VandeVondele changed: What|Removed |Added CC||Joost.VandeVondele at mat dot ethz