[Bug optimization/12617] New: jump to next instruction not always properly eliminated
zack at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Oct 15 03:00: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=12617
Summary: jump to next instruction not always properly eliminated
Product: gcc
Version: 3.4
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: zack at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
I will shortly attach to this bug a test case and the assembly that it produces when
compiled by gcc 3.4 20031013 for i386. The key bit is
jmp .L16
.p2align 2,,3
.L14:
.L16:
movb (%ebx), %al
which should have been optimized down to
.p2align 2,,3
.L14:
movb (%ebx), %al
More information about the Gcc-bugs
mailing list