[Bug target/91635] wrong code at -O2 with __builtin_add_overflow()
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Sep 2 13:56:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91635
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Can't reproduce.
I get:
foo:
not a4,a0
lui a5,%hi(b)
slli a0,a0,17
sh a4,%lo(b)(a5)
srli a0,a0,17
ret
at -O2 which looks correct.
More information about the Gcc-bugs
mailing list