This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/48723] ICE in ix86_expand_prologue() with -fstack-check + function returning struct, on corei7-avx
- From: "ubizjak at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 22 Apr 2011 11:28:35 +0000
- Subject: [Bug target/48723] ICE in ix86_expand_prologue() with -fstack-check + function returning struct, on corei7-avx
- Auto-submitted: auto-generated
- References: <bug-48723-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48723
--- Comment #2 from Uros Bizjak <ubizjak at gmail dot com> 2011-04-22 11:28:30 UTC ---
Patch in testing:
Index: i386.c
===================================================================
--- i386.c (revision 172856)
+++ i386.c (working copy)
@@ -10628,6 +10628,7 @@ ix86_expand_prologue (void)
if (STACK_CHECK_MOVING_SP)
{
ix86_adjust_stack_and_probe (allocate);
+ m->fs.sp_offset += allocate;
allocate = 0;
}
else