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: "paolo.carlini at oracle dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 23 Sep 2012 22:52:50 +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 #16 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-09-23 22:52:50 UTC ---
I also note that so far we added the long long overloads only in C++11 mode. I
know that elsewhere in the library we have long long overloads in C++98 mode
too as extensions, but then maybe better wrapping in _GLIBCXX_USE_LONG_LONG?