[Bug target/54686] std::abs (long long) resorts to std::abs (double) if llabs is absent

olegendo at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Sep 30 17:48:00 GMT 2012


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

Oleg Endo <olegendo at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #28257|0                           |1
        is obsolete|                            |

--- Comment #29 from Oleg Endo <olegendo at gcc dot gnu.org> 2012-09-30 17:48:25 UTC ---
Created attachment 28303
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28303
always define abs(long long) (v2.1)

This an updated patch against rev 191865, with a typo fix (missing '\').
With this patch the std::abs problem goes away on my xgcc setup.  So far I've
tested it only with 'make all'.



More information about the Gcc-bugs mailing list