This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH libstdc++/66689] comp_ellint_3 and ellint_3 return garbage values


On 18/11/17 11:49 -0500, Ed Smith-Rowland wrote:
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.

True, but I'd prefer not to have to maintain that forever, it's just
another variation that needs to be tested.

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.

Fedora 26 has been shipping with GCC 7 for some months, and Fedora 27
is just out, also using GCC 7.

Maybe we should just change it for GCC 8 as you suggested initially.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]