This is the mail archive of the gcc-bugs@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]

[Bug libstdc++/78851] Resolve DR 550 in cmath and continue using __builtin_powil() even in C++11


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78851

--- Comment #6 from Vadim Zeitlin <vz-gcc at zeitlins dot org> ---
> One might complain that it only does this transformation when the second argument is a constant, not for casts of integer variables to long double.

Yes, in the light of new information, this is what this bug is really about:
due to disabling the old overloads selecting __builtin_powil() explicitly, the
results are now (i.e. with C++11) different when an integer constant and an
integer variable containing the same value are used, whereas they were the same
before.

IMHO this is a regression, albeit a minor one, but I can understand if you
decide it's not worth doing anything about it -- please just close this bug in
this case.

Thanks again for your explanations!

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