[Bug optimization/1532] -O3 generates (obviously) redundant tests and jumps
steven at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Jul 29 08:39:00 GMT 2003
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=1532
steven at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed|2003-05-24 23:49:29 |2003-07-29 08:39:17
date| |
------- Additional Comments From steven at gcc dot gnu dot org 2003-07-29 08:39 -------
Still there with no arch/tune options.
Current mainline ("GNU C version 3.4 20030728 (experimental)") with "-O3
-fomit-frame-pointer -march=i686 -mtune=i686" produces:
foo:
movl 4(%esp), %edx
movl 8(%esp), %eax
cmpl %eax, %edx
je .L15
cmpl %eax, %edx
cmovg %edx, %eax
ret
.p2align 4,,7
.L15:
addl %eax, %eax
ret
More information about the Gcc-bugs
mailing list