This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [PATCH libstdc++/66689] comp_ellint_3 and ellint_3 return garbage values
- From: Ed Smith-Rowland <3dw4rd at verizon dot net>
- To: Jonathan Wakely <jwakely at redhat dot com>
- Cc: "libstdc++ at gcc dot gnu dot org" <libstdc++ at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>, Jonathan Wakely <jwakely dot gcc at gmail dot com>, redi at gcc dot gnu dot org
- Date: Sat, 18 Nov 2017 11:49:02 -0500
- Subject: Re: [PATCH libstdc++/66689] comp_ellint_3 and ellint_3 return garbage values
- Authentication-results: sourceware.org; auth=none
- References: <755dc780-d676-65ca-ba9b-81a4bf80a3f3@verizon.net> <20171117205429.GA31922@redhat.com>
On 11/17/2017 03:54 PM, Jonathan Wakely wrote:
Hmm, you're probably right. I'd be tempted to though.
I had an idea. What about a macro _GLIBCXX_ELLINT_3_POS_NU or something
that:
1. would allow users to detect which convention is on by default.
2. They could set or unset to get the other convention.
It's bloody but it would work. it would prevent users from having to
test the compiler version and guess or check the value every time.
I feel that distros are likely to pick up gcc-7 soon and I'd like to do
*something*. This would be something of a transition path.
Ed