From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) by sourceware.org (Postfix) with ESMTPS id 36FB9385C41C for ; Tue, 25 Jan 2022 21:05:05 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 36FB9385C41C Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.16.1/8.16.1) with ESMTPS id 20PL53Wo074512 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Tue, 25 Jan 2022 13:05:03 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.16.1/8.16.1/Submit) id 20PL53fC074511; Tue, 25 Jan 2022 13:05:03 -0800 (PST) (envelope-from sgk) Date: Tue, 25 Jan 2022 13:05:03 -0800 From: Steve Kargl To: FX Cc: fortran@gcc.gnu.org Subject: Re: New signaling NaN causes 12 testsuite failures Message-ID: <20220125210503.GA70436@troutmask.apl.washington.edu> References: <20220125004453.GA16729@troutmask.apl.washington.edu> <1DA16214-53F0-4B2E-AB56-503AAD59B266@gmail.com> <20220125193526.GA69322@troutmask.apl.washington.edu> <154020AE-C99E-400F-B86C-A8AF4720F16F@gmail.com> <20220125204544.GE69322@troutmask.apl.washington.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, KAM_SHORT, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: fortran@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Fortran mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Jan 2022 21:05:06 -0000 On Tue, Jan 25, 2022 at 09:56:05PM +0100, FX wrote: > > Found it. https://gcc.gnu.org/onlinedocs/cpp/Common-Predefined-Macros.html > > > > Add trailing undersores to __FLOAT_WORD_ORDER and change > > __BIG_ENDIAN to __ORDER_BIG_ENDIAN__. Likewise for LITTLE. > > Thanks Steve! > > What I wonder is: if those conditions failed, then the struct they define should have been empty, and therefore the code shouldn’t compile anyway (that was the intent). > > Does the attached patch fix the remaining failures? > Yes! % gmake check-fortran RUNTESTFLAGS="ieee.exp=signaling_\*" ... === gfortran Summary === # of expected passes 24 # of unsupported tests 6 -- Steve