[Bug libfortran/37839] st_parameter_dt has unwanted padding, is out of sync with compiler
jvdelisle at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat Nov 22 05:23:00 GMT 2008
------- Comment #15 from jvdelisle at gcc dot gnu dot org 2008-11-22 05:21 -------
The PENDING= specifier needs to be a pointer to integer. It is used to assign
a logical value of TRUE or FALse to the variable given value.
Thus:
LOGICAL :: alogicalvalue
INQUIRE(10,pending = alogicalvalue)
PRINT *, alogicalvalue ! This would print 'T' if IO was pending on UNIT 10
Thanks for helping with this mess. I am checking your patch.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37839
More information about the Gcc-bugs
mailing list