This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH libquadmath/PR68686]
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Ed Smith-Rowland <3dw4rd at verizon dot net>
- Cc: Jeff Law <law at redhat dot com>, gcc-patches <gcc-patches at gcc dot gnu dot org>, <burnus at net-b dot de>, <jakub at redhat dot com>
- Date: Mon, 5 Nov 2018 18:25:11 +0000
- Subject: Re: [PATCH libquadmath/PR68686]
- References: <bca16da8-46e7-a274-3724-6472aa6803bd@verizon.net> <9c17f945-539e-01b9-34b8-656ea184b5c1@redhat.com> <5b83d435-326d-44bd-7673-ec12fe5cfd50@verizon.net>
On Sun, 4 Nov 2018, Ed Smith-Rowland wrote:
> I *do* think a couple tests should be added to test-signgam-*.c to test
> alternation of signs:
The main tests for results of libm functions are in auto-libm-test-in
(from which auto-libm-test-out-* are generated by gen-auto-libm-tests.c)
and libm-test-*.inc. I believe these already cover signgam setting
thoroughly. test-signgam-*.c are specifically for ISO C namespace issues
(an ISO C program should be able to define its own variable called signgam
and not have lgamma affect it, but an XSI program must be able to use the
signgam variable defined in libm and have it affected by lgamma).
--
Joseph S. Myers
joseph@codesourcery.com