summaryrefslogtreecommitdiffstats
path: root/development/gcc5/patches/gcc.69140.diff
diff options
context:
space:
mode:
author Matteo Bernardini2018-06-09 09:46:04 +0200
committer Matteo Bernardini2018-06-09 09:46:04 +0200
commitc18f81605673c2bc77b734c7ad42c181f65a086b (patch)
treeb5c481edee49d22658d07c630d8481ca16f5f653 /development/gcc5/patches/gcc.69140.diff
parent81c344443219574587ae3d6bccb8f19c1bd346af (diff)
downloadold.slackbuilds-c18f81605673c2bc77b734c7ad42c181f65a086b.tar.gz
20180609.1 global branch merge.current-20180609.1current
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'development/gcc5/patches/gcc.69140.diff')
-rw-r--r--development/gcc5/patches/gcc.69140.diff13
1 files changed, 13 insertions, 0 deletions
diff --git a/development/gcc5/patches/gcc.69140.diff b/development/gcc5/patches/gcc.69140.diff
new file mode 100644
index 0000000000..ace60ebdd0
--- /dev/null
+++ b/development/gcc5/patches/gcc.69140.diff
@@ -0,0 +1,13 @@
+--- ./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. */