[Bug libfortran/33055] Runtime error in INQUIRE unit existance with -fdefault-integer-8
jvdelisle at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun Aug 26 22:05:00 GMT 2007
------- Comment #4 from jvdelisle at gcc dot gnu dot org 2007-08-26 22:05 -------
Subject: Bug 33055
Author: jvdelisle
Date: Sun Aug 26 22:04:48 2007
New Revision: 127817
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=127817
Log:
2007-08-26 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/33055
* trans-io.c (create_dummy_iostat): New function to create a unique
dummy variable expression to use with IOSTAT.
(gfc_trans_inquire): Use the new function to pass unit number error
info
to run-time library if a regular IOSTAT variable was not given.
PR libfortran/33055
* io/inquire.c (inquire_via_unit): If inquiring by unit, check for
an error condition from the IOSTAT variable and set EXIST to false if
there was a bad unit number.
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/trans-io.c
trunk/libgfortran/ChangeLog
trunk/libgfortran/io/inquire.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33055
More information about the Gcc-bugs
mailing list