------- 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