From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7139 invoked by alias); 1 Feb 2011 02:31:33 -0000 Received: (qmail 7123 invoked by uid 22791); 1 Feb 2011 02:31:32 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL,TW_XF X-Spam-Check-By: sourceware.org Received: from out03.roch.ny.frontiernet.net (HELO out03.roch.ny.frontiernet.net) (66.133.183.245) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 01 Feb 2011 02:31:27 +0000 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAKv/Rk1Hc96T/2dsb2JhbACke70DhU4EhRM Received: from relay02.roch.ny.frontiernet.net ([66.133.182.165]) by out03.roch.ny.frontiernet.net with ESMTP; 01 Feb 2011 02:31:25 +0000 X-Previous-IP: 71.115.222.147 Received: from quava.localdomain (pool-71-115-222-147.spknwa.dsl-w.verizon.net [71.115.222.147]) by relay02.roch.ny.frontiernet.net (Postfix) with ESMTPA id C265210FA67; Tue, 1 Feb 2011 02:31:23 +0000 (UTC) Message-ID: <4D47707D.8030506@frontier.com> Date: Tue, 01 Feb 2011 02:31:00 -0000 From: Jerry DeLisle User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Thunderbird/3.1.7 MIME-Version: 1.0 To: Jakub Jelinek CC: gfortran , gcc patches Subject: Re: [patch, libquadmath] PR47293 NAN not correctly read References: <4D40E9F7.4090206@frontier.com> <20110127194212.GO2724@tyan-ft48-01.lab.bos.redhat.com> <4D4466C0.3040800@frontier.com> In-Reply-To: <4D4466C0.3040800@frontier.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2011-02/txt/msg00003.txt.bz2 On 01/29/2011 11:13 AM, Jerry DeLisle wrote: > On 01/27/2011 11:42 AM, Jakub Jelinek wrote: >> On Wed, Jan 26, 2011 at 07:43:51PM -0800, Jerry DeLisle wrote: >>> This patch is simple. The bit pattern for NAN was mixed up. >> >> 1) It should be 0x7fff8000 instead of 0xffff8000 >> 2) the code will handle endianess incorrectly >> case STRTOG_NaN: >> L[0] = ld_QNAN0; >> L[1] = ld_QNAN1; >> L[2] = ld_QNAN2; >> L[3] = ld_QNAN3; >> should be >> L[_3] = ld_QNAN0; >> L[_2] = ld_QNAN1; >> L[_1] = ld_QNAN2; >> L[_0] = ld_QNAN3; >> > > Here is an updated patch. I will submit a change to the testsuite separately. > > OK for trunk? Sending ChangeLog Sending gdtoa/gd_qnan.h Sending gdtoa/strtopQ.c Transmitting file data ... Committed revision 169466. Committed under obvious rule. Jerry