This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/54686] std::abs (long long) resorts to std::abs (double) if llabs is absent
- From: "glisse at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 05 Oct 2012 19:10:27 +0000
- Subject: [Bug target/54686] std::abs (long long) resorts to std::abs (double) if llabs is absent
- Auto-submitted: auto-generated
- References: <bug-54686-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54686
--- Comment #42 from Marc Glisse <glisse at gcc dot gnu.org> 2012-10-05 19:10:27 UTC ---
Author: glisse
Date: Fri Oct 5 19:10:22 2012
New Revision: 192138
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=192138
Log:
2012-10-05 Marc Glisse <marc.glisse@inria.fr>
PR libstdc++/54686
* include/c_global/cstdlib (abs(long long)): Define with
__builtin_llabs when we have long long.
(abs(long)): Use __builtin_labs.
(abs(__int128)): Define when we have __int128.
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/c_global/cstdlib