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

Jeffrey A. Law <law at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |law at redhat dot com

--- Comment #3 from Jeffrey A. Law <law at redhat dot com> ---
Gerald, I wanted to reproduce the error so that I could in turn verify the
proposed fix of using std:abs would work.

So I installed FreeBSD 11.3 (i686) in a VM.  Bootstrap with GCC went fine.   I
couldn't get the failure building with clang either.

How are you configuring & building?    I checked both my gcc and clang object
trees, and both end up with %lld (compiling with -save-temps, then examining
the .ii output).

So while I believe Andrew is right that this should be using std::abs, I'd
still like to reproduce the problem and verify that using std::abs is
sufficient to fix.

Reply via email to