This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/37296] [4.4 Regression] Bootstrap failure compiling libgcc
- From: "ebotcazou at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Sep 2008 13:26:47 -0000
- Subject: [Bug rtl-optimization/37296] [4.4 Regression] Bootstrap failure compiling libgcc
- References: <bug-37296-10110@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #17 from ebotcazou at gcc dot gnu dot org 2008-09-02 13:26 -------
> The offset against %esp should be the same.
Actually it should be adjusted to the value of %esp:
rebuild_cgraph_edges:
pushl %ebp
pushl %edi
pushl %esi
pushl %ebx
subl $56, %esp
pushl current_function_decl
call cgraph_node
movl %eax, 32(%esp)
[...]
.L21:
movl 48(%esp), %eax
call initialize_inline_failed
movl 48(%esp), %edx
cmpl $0, 76(%edx)
jne .L53
addl $44, %esp
xorl %eax, %eax
popl %ebx
popl %esi
popl %edi
popl %ebp
ret
so 16(%esp) instead of 48(%esp) if the stack adjustments are correct.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37296