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 target/54686] std::abs (long long) resorts to std::abs (double) if llabs is absent


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54686

--- Comment #28 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-09-24 09:27:05 UTC ---
Indeed uglier ;) but I must say that overall I think we have to do something
like this. I'm still annoyed that because of the type we can't handle in the
same way div but I'm also coming to the conclusion that in terms of actual code
we can't do much about it, besides making the configury more fine grained, and
separating the stdlib.h bits, which maybe could help other targets but, if I
understand correctly, would not help newlib anyway, because llabs is completely
missing
 (Note that around the corner there is us providing fall backs for *everything*
missing from the target libc, where in this case *us* has nothing to do with
*me* ;)


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