This is the mail archive of the gcc@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]

gcc-4.0-20050908 is now available


  I do not know if
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23477
  should be fixed in this release, but I am sure
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23631
  which was marked as duplicate is not fixed:

etienne@cygne:~/projet/gujin$ cat > tmp.c
int
sub (int i)
{
  int array[1000000] = { 0 };

  sub2 (&array[i]);
}

etienne@cygne:~/projet/gujin$ ~/projet/toolchain/bin/gcc -S -Os tmp.c -o
tmp.s
etienne@cygne:~/projet/gujin$ cat tmp.s
        .file   "tmp.c"
        .section        .rodata
        .align 32
        .type   C.0.1134, @object
        .size   C.0.1134, 4000000
C.0.1134:
        .zero   4000000
        .text
.globl sub
        .type   sub, @function
sub:
        pushl   %ebp
        movl    %esp, %ebp
        pushl   %ebx
        subl    $4000000, %esp
        pushl   $4000000
        pushl   $C.0.1134
        leal    -4000004(%ebp), %ebx
        pushl   %ebx
        call    memcpy
        movl    8(%ebp), %eax
        leal    (%ebx,%eax,4), %eax
        pushl   %eax
        call    sub2
        addl    $16, %esp
        movl    -4(%ebp), %ebx
        leave
        ret
        .size   sub, .-sub
        .ident  "GCC: (GNU) 4.0.2 20050908 (prerelease)"
        .section        .note.GNU-stack,"",@progbits
etienne@cygne:~/projet/gujin$



	

	
		
___________________________________________________________________________ 
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger 
Téléchargez cette version sur http://fr.messenger.yahoo.com


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