[patch] libstdc++/60637 Fix C++98 std::signbit<long double>

Jonathan Wakely jwakely@redhat.com
Mon Jan 18 16:29:00 GMT 2016


This fixes PR60637 by using the appropriate built-in for the size of
the argument type. In Bugzilla Marc asked why we don't just use the
same code as for C++11, but I want to make this less intrusive change
on the branches (trunk is already OK anyway).

The new test is only run on x86 because it fails with a -Woverflow
warning on (at least) powerpc.

Tested x86_64-linux and powerpc64le-linux. Committed to gcc-5-branch
and gcc-4_9-branch.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.txt
Type: text/x-patch
Size: 2365 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20160118/4062a921/attachment.bin>


More information about the Libstdc++ mailing list