This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug optimization/12617] New: jump to next instruction not always properly eliminated


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]