reassign 75773 gcc-4.6 found 75773 4.6.3-4 stop Hi,
I could reproduce the bug when compiling with this 4.6.3-4 version (the default in Debian unstable at this time), when using -m32 in amd64: --------------------------------------------------------------------- $ gcc -O2 -S -m32 test1.c -o test1.m32.s $ cat test1.m32.s .file "test1.c" .text .p2align 4,,15 .globl foo .type foo, @function foo: .LFB0: .cfi_startproc movl 4(%esp), %ecx movl 8(%esp), %edx movl %ecx, %eax subl %edx, %eax cmpl %edx, %ecx jae .L2 addl $100, %eax .L2: rep ret .cfi_endproc .LFE0: .size foo, .-foo .ident "GCC: (Debian 4.6.3-4) 4.6.3" .section .note.GNU-stack,"",@progbits --------------------------------------------------------------------- Though surely not important, just for completion, with -m64 the result is completely different: --------------------------------------------------------------------- $ gcc -O2 -S -m64 test1.c -o test1.m64.s $ cat test1.m64.s .file "test1.c" .text .p2align 4,,15 .globl foo .type foo, @function foo: .LFB0: .cfi_startproc movq %rdi, %rax subq %rsi, %rax cmpq %rsi, %rdi leaq 100(%rax), %rdx cmovb %rdx, %rax ret .cfi_endproc .LFE0: .size foo, .-foo .ident "GCC: (Debian 4.6.3-4) 4.6.3" .section .note.GNU-stack,"",@progbits --------------------------------------------------------------------- Also confirmed with GCC 4.7.0, the only difference to the files above is the line about the version of the compiler: --------------------------------------------------------------------- $ gcc-4.7 --version | head -n 1 gcc-4.7 (Debian 4.7.0-6) 4.7.0 $ diff -U0 test1.{,gcc47-}m32.s --- test1.m32.s 2012-05-02 20:05:55.908296453 +0100 +++ test1.gcc47-m32.s 2012-05-02 20:08:01.824292734 +0100 @@ -22 +22 @@ - .ident "GCC: (Debian 4.6.3-4) 4.6.3" + .ident "GCC: (Debian 4.7.0-6) 4.7.0" $ diff -U0 test1.{,gcc47-}m64.s --- test1.m64.s 2012-05-02 20:06:20.652295721 +0100 +++ test1.gcc47-m64.s 2012-05-02 20:07:52.868292996 +0100 @@ -18 +18 @@ - .ident "GCC: (Debian 4.6.3-4) 4.6.3" + .ident "GCC: (Debian 4.7.0-6) 4.7.0" --------------------------------------------------------------------- -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org