https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69657

--- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Wilco from comment #5)
> Note I see the long, long long, int128, float, double, long double
> overloads, but where is the plain int overload defined? 

In the libc <stdlib.h> header, not in libstdc++.

> I bet that adding an int overload that redirects to __builtin_abs similar to
> the others will fix the issue.

That would be non-conforming unless libc is changed to suppress its
declaration.

Reply via email to