From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 857 invoked by alias); 22 Nov 2008 05:23:02 -0000 Received: (qmail 20381 invoked by uid 48); 22 Nov 2008 05:21:39 -0000 Date: Sat, 22 Nov 2008 05:23:00 -0000 Message-ID: <20081122052139.20380.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug libfortran/37839] st_parameter_dt has unwanted padding, is out of sync with compiler In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "jvdelisle at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2008-11/txt/msg01852.txt.bz2 ------- 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