[Bug target/48723] ICE in ix86_expand_prologue() with -fstack-check + function returning struct, on corei7-avx

ubizjak at gmail dot com gcc-bugzilla@gcc.gnu.org
Fri Apr 22 11:28:00 GMT 2011


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



More information about the Gcc-bugs mailing list