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: Sun, 23 Sep 2012 22:21:35 +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 #13 from Marc Glisse <glisse at gcc dot gnu.org> 2012-09-23 22:21:35 UTC ---
Created attachment 28256
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28256
always define abs(long long)
This is what I had in mind (this abs(long long) is not a fallback, that's the
only implementation there is currently). Completely untested.
Oleg, do you want to experiment with something like that?