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

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


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


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