This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug optimization/1532] -O3 generates (obviously) redundant tests and jumps
- From: "pinskia at physics dot uc dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 May 2003 23:49:29 -0000
- Subject: [Bug optimization/1532] -O3 generates (obviously) redundant tests and jumps
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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
pinskia@physics.uc.edu changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed|0000-00-00 00:00:00 |2003-05-24 23:49:29
date| |
------- Additional Comments From pinskia@physics.uc.edu 2003-05-24 23:49 -------
Still happends on the mainline (20030524) but it is better:
cmpl %edx, %eax
je .L15
cmpl %edx, %eax
jg .L1
movl %edx, %eax
.L1:
popl %ebp
ret
.p2align 4,,7
.L15:
popl %ebp
leal (%edx,%edx), %eax
ret
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.