From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 57231 invoked by alias); 21 Feb 2019 21:43:26 -0000 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 Received: (qmail 57215 invoked by uid 89); 21 Feb 2019 21:43:26 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=BAYES_00,KAM_NUMSUBJECT,SPF_HELO_PASS autolearn=no version=3.3.2 spammy=Hx-languages-length:550 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 21 Feb 2019 21:43:25 +0000 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id C3422307DAAA; Thu, 21 Feb 2019 21:43:23 +0000 (UTC) Received: from localhost.localdomain (ovpn-112-17.rdu2.redhat.com [10.10.112.17]) by smtp.corp.redhat.com (Postfix) with ESMTP id C5CC619C5B; Thu, 21 Feb 2019 21:43:22 +0000 (UTC) Subject: Re: [PATCH] Fix PR89437 To: Wilco Dijkstra , GCC Patches Cc: nd References: From: Jeff Law Openpgp: preference=signencrypt Message-ID: Date: Thu, 21 Feb 2019 22:35:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2019-02/txt/msg01774.txt.bz2 On 2/21/19 8:55 AM, Wilco Dijkstra wrote: > Fix PR89437. Fix the sinatan-1.c testcase to not run without > a C99 target system. Use nextafterl for long double initialization. > > Fix an issue with sinl (atanl (sqrtl (LDBL_MAX)) returning 0.0 > instead of 1.0 by using x < sqrtl (LDBL_MAX) in match.pd. > > OK for commit? > > ChangeLog: > 2019-02-21 Wilco Dijkstra > > gcc/ > * match.pd: Use lt in sin(atan(x)) and cos(atan(x)) simplifications. > > testsuite/ > * gcc.dg/sinatan-1.c: Fix testcase. OK. jeff