This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/45234] [4.4 Regression] ICE in expand_call, at calls.c:2845 when passing aligned function argument from unaligned stack after alloca
- From: "truedfx at gentoo dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Aug 2010 16:58:36 -0000
- Subject: [Bug target/45234] [4.4 Regression] ICE in expand_call, at calls.c:2845 when passing aligned function argument from unaligned stack after alloca
- References: <bug-45234-9631@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #10 from truedfx at gentoo dot org 2010-08-09 16:58 -------
I had already tried simply commenting out the assert, and that caused wrong
code, so changing the assert without anything else won't help :)
FWIW, I now also checked the code difference between alloca(2) and alloca(6)
with 4.3.5, and it looks like that gets it wrong:
@@ -5,7 +5,7 @@
g:
pushl %ebp
movl %esp, %ebp
- subl $36, %esp
+ subl $40, %esp
movdqa .LC0, %xmm0
movaps %xmm0, (%esp)
call f
so this isn't really a regression, it just changed from wrong code to an ICE,
which is an improvement IMO.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45234