[Bug fortran/43409] I/O: INQUIRE for SIZE does not work.

2010-03-30 Thread jvdelisle at gcc dot gnu dot org
--- Comment #19 from jvdelisle at gcc dot gnu dot org 2010-03-31 02:10 --- Fixed on 4.4 Closing -- jvdelisle at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/43409] I/O: INQUIRE for SIZE does not work.

2010-03-30 Thread jvdelisle at gcc dot gnu dot org
--- Comment #18 from jvdelisle at gcc dot gnu dot org 2010-03-31 02:06 --- Subject: Bug 43409 Author: jvdelisle Date: Wed Mar 31 02:05:56 2010 New Revision: 157848 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157848 Log: 2010-03-30 Jerry DeLisle PR libfortran/4340

[Bug fortran/43409] I/O: INQUIRE for SIZE does not work.

2010-03-30 Thread jvdelisle at gcc dot gnu dot org
--- Comment #17 from jvdelisle at gcc dot gnu dot org 2010-03-31 02:01 --- Subject: Bug 43409 Author: jvdelisle Date: Wed Mar 31 02:00:51 2010 New Revision: 157847 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157847 Log: 2010-03-30 Jerry DeLisle PR fortran/43409

[Bug fortran/43409] I/O: INQUIRE for SIZE does not work.

2010-03-30 Thread jvdelisle at gcc dot gnu dot org
--- Comment #16 from jvdelisle at gcc dot gnu dot org 2010-03-31 02:00 --- Subject: Bug 43409 Author: jvdelisle Date: Wed Mar 31 01:59:52 2010 New Revision: 157846 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157846 Log: 2010-03-30 Jerry DeLisle PR fortran/43409

[Bug fortran/43409] I/O: INQUIRE for SIZE does not work.

2010-03-22 Thread dominiq at lps dot ens dot fr
--- Comment #15 from dominiq at lps dot ens dot fr 2010-03-22 12:29 --- Full regtesting passed on powerpc-apple-darwin9.8.0 for -m32 (see http://gcc.gnu.org/ml/gcc-testresults/2010-03/msg01896.html ). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43409

[Bug fortran/43409] I/O: INQUIRE for SIZE does not work.

2010-03-22 Thread dominiq at lps dot ens dot fr
--- Comment #14 from dominiq at lps dot ens dot fr 2010-03-22 09:05 --- > Dominique, please confirm this fixes it on your machine. It does (for limited testing only). Thanks for the fix. Note that a "quick" (8 hours latency) way to check what's happen on powerpc is to monitor the tester

[Bug fortran/43409] I/O: INQUIRE for SIZE does not work.

2010-03-21 Thread jvdelisle at gcc dot gnu dot org
--- Comment #13 from jvdelisle at gcc dot gnu dot org 2010-03-22 02:41 --- I will back port all of this business to 4.4 in a few days. Dominique, please confirm this fixes it on your machine and I thank you very much for the report. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=4

[Bug fortran/43409] I/O: INQUIRE for SIZE does not work.

2010-03-21 Thread jvdelisle at gcc dot gnu dot org
--- Comment #12 from jvdelisle at gcc dot gnu dot org 2010-03-22 02:39 --- Subject: Bug 43409 Author: jvdelisle Date: Mon Mar 22 02:39:02 2010 New Revision: 157618 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157618 Log: 2010-03-21 Jerry DeLisle PR fortran/43409

[Bug fortran/43409] I/O: INQUIRE for SIZE does not work.

2010-03-21 Thread jvdelisle at gcc dot gnu dot org
--- Comment #11 from jvdelisle at gcc dot gnu dot org 2010-03-22 02:03 --- Found it: Index: io.h === --- io.h(revision 157617) +++ io.h(working copy) @@ -331,7 +331,7 @@ CHARACTER2 (round); CHARACTER1

[Bug fortran/43409] I/O: INQUIRE for SIZE does not work.

2010-03-21 Thread jvdelisle at gcc dot gnu dot org
--- Comment #10 from jvdelisle at gcc dot gnu dot org 2010-03-21 13:31 --- Dominiq, can you test the FSTAT intrinsic while you are at it? With the same file I wonder if it gives the same results. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43409

[Bug fortran/43409] I/O: INQUIRE for SIZE does not work.

2010-03-21 Thread dominiq at lps dot ens dot fr
--- Comment #9 from dominiq at lps dot ens dot fr 2010-03-21 08:58 --- The test fails gfortran.dg/inquire_size.f90 on powerpc-apple-darwin9 (see http://gcc.gnu.org/ml/gcc-testresults/2010-03/msg01801.html). The failures are due to bad values of size, as shown by the following output of t

[Bug fortran/43409] I/O: INQUIRE for SIZE does not work.

2010-03-20 Thread jvdelisle at gcc dot gnu dot org
--- Comment #8 from jvdelisle at gcc dot gnu dot org 2010-03-20 14:42 --- Subject: Bug 43409 Author: jvdelisle Date: Sat Mar 20 14:42:04 2010 New Revision: 157594 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157594 Log: 2010-03-20 Jerry DeLisle PR fortran/43409

[Bug fortran/43409] I/O: INQUIRE for SIZE does not work.

2010-03-20 Thread jvdelisle at gcc dot gnu dot org
--- Comment #7 from jvdelisle at gcc dot gnu dot org 2010-03-20 14:39 --- Subject: Bug 43409 Author: jvdelisle Date: Sat Mar 20 14:39:00 2010 New Revision: 157593 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157593 Log: 2010-03-20 Jerry DeLisle PR fortran/43409

[Bug fortran/43409] I/O: INQUIRE for SIZE does not work.

2010-03-19 Thread jvdelisle at gcc dot gnu dot org
--- Comment #6 from jvdelisle at gcc dot gnu dot org 2010-03-19 20:25 --- On it. -- jvdelisle at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unas

[Bug fortran/43409] I/O: INQUIRE for SIZE does not work.

2010-03-19 Thread burnus at gcc dot gnu dot org
--- Comment #5 from burnus at gcc dot gnu dot org 2010-03-19 17:40 --- (In reply to comment #4) > size.1 is always kind=4 so we may need some error checks if someone tries to > stuff a large file size into a small space. Thus, we should change the ABI at some point (e.g. when doing the

[Bug fortran/43409] I/O: INQUIRE for SIZE does not work.

2010-03-18 Thread jvdelisle at gcc dot gnu dot org
--- Comment #4 from jvdelisle at gcc dot gnu dot org 2010-03-19 03:24 --- The front end work for this is complete. We simply forgot to implement on the runtime side. One thing we have to be careful with is the kind of the integer. Currently it is limited to kind=4 and all results are

[Bug fortran/43409] I/O: INQUIRE for SIZE does not work.

2010-03-17 Thread jvdelisle at gcc dot gnu dot org
--- Comment #3 from jvdelisle at gcc dot gnu dot org 2010-03-18 02:14 --- I have a few other bugs ahead of this, but I will fix it if no one else does so before I get to it. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43409

[Bug fortran/43409] I/O: INQUIRE for SIZE does not work.

2010-03-17 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2010-03-17 17:43 --- I was wondering about connected files. (I think it only applies to inquire_via_unit.) What does one return here if the file has not been flushed? The *STAT result or does one calls flush on the unit and uses then *STA

[Bug fortran/43409] I/O: INQUIRE for SIZE does not work.

2010-03-17 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2010-03-17 17:34 --- If one checks libgfortran/io/*, one sees that (dtp->common.flags & IOPARM_DT_HAS_SIZE) is only used for read.c and transfer.c and is not touched at all for inquire.c. Work-around: gfortran offers the STAT, FSTAT, and