From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by sourceware.org (Postfix) with ESMTP id DA3553858039 for ; Fri, 18 Dec 2020 09:07:32 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org DA3553858039 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-577-xxIuaELvOsahctOlBhTnNw-1; Fri, 18 Dec 2020 04:07:29 -0500 X-MC-Unique: xxIuaELvOsahctOlBhTnNw-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 98ECB1966323 for ; Fri, 18 Dec 2020 09:07:28 +0000 (UTC) Received: from calimero.vinschen.de (ovpn-115-114.ams2.redhat.com [10.36.115.114]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 6B06360BE5 for ; Fri, 18 Dec 2020 09:07:28 +0000 (UTC) Received: by calimero.vinschen.de (Postfix, from userid 500) id ED1AAA82BDD; Fri, 18 Dec 2020 10:07:26 +0100 (CET) Date: Fri, 18 Dec 2020 10:07:26 +0100 From: Corinna Vinschen To: newlib@sourceware.org Subject: Re: regression in tgamma? Message-ID: <20201218090726.GO4560@calimero.vinschen.de> Reply-To: newlib@sourceware.org Mail-Followup-To: newlib@sourceware.org References: <871rfo76mw.fsf@keithp.com> <87v9d05jkl.fsf@keithp.com> <20201218084208.GN4560@calimero.vinschen.de> MIME-Version: 1.0 In-Reply-To: X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Disposition: inline X-Spam-Status: No, score=-12.9 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: newlib@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Newlib mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Dec 2020 09:07:33 -0000 On Dec 18 09:54, Paul Zimmermann wrote: > Dear Corinna, > > sorry, here is the patch generated by "git format-patch". Thanks, I pushed the patch. Corinna > > Paul > > >From bb94a62d68012fc38a0b6b14cedb806ff86b5c29 Mon Sep 17 00:00:00 2001 > From: Paul Zimmermann > Date: Fri, 18 Dec 2020 09:52:40 +0100 > Subject: [PATCH] fixes to make compilation succeeds > > --- > newlib/libm/math/w_tgamma.c | 1 + > newlib/libm/math/wf_tgamma.c | 2 +- > 2 files changed, 2 insertions(+), 1 deletion(-) > > diff --git a/newlib/libm/math/w_tgamma.c b/newlib/libm/math/w_tgamma.c > index 0f90dd4c6..52d5d71d3 100644 > --- a/newlib/libm/math/w_tgamma.c > +++ b/newlib/libm/math/w_tgamma.c > @@ -16,6 +16,7 @@ > */ > > #include "fdlibm.h" > +#include > > #ifndef _DOUBLE_IS_32BITS > > diff --git a/newlib/libm/math/wf_tgamma.c b/newlib/libm/math/wf_tgamma.c > index 80aacf757..504cb4c29 100644 > --- a/newlib/libm/math/wf_tgamma.c > +++ b/newlib/libm/math/wf_tgamma.c > @@ -15,6 +15,7 @@ > > #include "math.h" > #include "fdlibm.h" > +#include > > #ifdef __STDC__ > float tgammaf(float x) > @@ -34,7 +35,6 @@ > errno = EDOM; > else if (finite(x)) > errno = ERANGE; > - } > return y; > #endif > } > -- > 2.29.2