------- Additional Comments From steven at gcc dot gnu dot org  2005-01-23 
15:01 -------
GCC produces the following code today: 
 
        .section        .rodata.str1.1,"aMS",@progbits,1 
.LC0: 
        .string "" 
        .text 
        .p2align 4,,15 
.globl mystrlen 
        .type   mystrlen, @function 
mystrlen: 
        pushl   %ebp 
        movl    %esp, %ebp 
        movl    8(%ebp), %eax 
        testl   %eax, %eax 
        je      .L6 
        movl    %eax, 8(%ebp) 
        leave 
        jmp     strlen 
        .p2align 4,,7 
.L6: 
        movl    $.LC0, %eax 
        movl    %eax, 8(%ebp) 
        leave 
        jmp     strlen 
        .size   mystrlen, .-mystrlen 
        .ident  "GCC: (GNU) 4.0.0 20050123 (experimental)" 
 
-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2004-12-13 02:55:40         |2005-01-23 15:01:49
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3511

Reply via email to