mirror of
https://github.com/Ponce/slackbuilds
synced 2024-12-10 20:49:31 +01:00
57a75502dd
Signed-off-by: Eric Hameleers <alien@slackware.com> Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
13 lines
584 B
Diff
13 lines
584 B
Diff
--- ./gcc/config/i386/i386.c.orig 2015-11-18 09:45:26.000000000 -0600
|
|
+++ ./gcc/config/i386/i386.c 2016-02-05 13:50:07.202981920 -0600
|
|
@@ -9677,6 +9677,10 @@
|
|
if (TARGET_64BIT_MS_ABI && get_frame_size () > SEH_MAX_FRAME_SIZE)
|
|
return true;
|
|
|
|
+ /* SSE saves require frame-pointer when stack is misaligned. */
|
|
+ if (TARGET_64BIT_MS_ABI && ix86_incoming_stack_boundary < 128)
|
|
+ return true;
|
|
+
|
|
/* In ix86_option_override_internal, TARGET_OMIT_LEAF_FRAME_POINTER
|
|
turns off the frame pointer by default. Turn it back on now if
|
|
we've not got a leaf function. */
|