[Bug rtl-optimization/90311] [9 Regression] wrong code with -O and __builtin_add_overflow() and compare

rearnsha at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Mar 5 13:45:00 GMT 2020


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

Richard Earnshaw <rearnsha at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[9/10 Regression] wrong     |[9 Regression] wrong code
                   |code with -O and            |with -O and
                   |__builtin_add_overflow()    |__builtin_add_overflow()
                   |and compare                 |and compare

--- Comment #8 from Richard Earnshaw <rearnsha at gcc dot gnu.org> ---
The 64-bit arithmetic code for Arm was completely rewritten for gcc-10, so this
testcase no-longer fails.

However, it's a 10(ish)-patch series (and maybe some follow-ups); I'm not sure
if a back port is appropriate.


More information about the Gcc-bugs mailing list