https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55629
Steven Bosscher <steven at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed|2012-12-09 00:00:00 |2019-3-4 --- Comment #2 from Steven Bosscher <steven at gcc dot gnu.org> --- Trunk today with -O2: foo(int): cmpl $1, %edi sbbl %eax, %eax notl %eax cmpl $1, %edi sbbl %edx, %edx leal 6(%rdx,%rax), %eax ret and with -O2: foo(int): movl $5, %eax ret