summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0167-PR-target-48723.patch
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2011-04-30 12:37:47 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-05-05 12:26:41 +0100
commit478deec11f3349d61b1a922f047dc958dc07262a (patch)
tree1843907b36de2bcb8f821d49d8c9a88014ef0dc7 /meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0167-PR-target-48723.patch
parentd42dccf886983ba14ccc868041d7bea0cf1a260e (diff)
downloadpoky-478deec11f3349d61b1a922f047dc958dc07262a.tar.gz
gcc-4.6.0: Backport FSF 4.6 branch patches
This is set of bugfixes that has been done on FSF gcc-4_2-branch since 4.6.0 was released They will roll into 4.6.1 release once that happens in coming approx 6 months time then we can simply remove them thats the reason so use a separate .inc file to define the SRC_URI additions (From OE-Core rev: b0d5b9f12adbce2c4a0df6059f5671188cd32293) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0167-PR-target-48723.patch')
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0167-PR-target-48723.patch48
1 files changed, 48 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0167-PR-target-48723.patch b/meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0167-PR-target-48723.patch
new file mode 100644
index 0000000000..7aab9fb027
--- /dev/null
+++ b/meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0167-PR-target-48723.patch
@@ -0,0 +1,48 @@
1From 6798037eb1c55f1dd79c04da313bd6bcd4d2aa9e Mon Sep 17 00:00:00 2001
2From: uros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
3Date: Fri, 22 Apr 2011 18:43:57 +0000
4Subject: [PATCH 167/200] PR target/48723
5 * config/i386/i386.c (ix86_expand_prologue): Update m->fs.sp_offset
6 after the call to ix86_adjust_stack_and_probe.
7
8testsuite/ChangeLog:
9
10 PR target/48723
11 * gcc.target/i386/pr48723.c: New test.
12
13
14
15git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@172867 138bc75d-0d04-0410-961f-82ee72b054a4
16
17index 6e4bb3b..c50cbaf 100644
18--- a/gcc/config/i386/i386.c
19+++ b/gcc/config/i386/i386.c
20@@ -10575,6 +10575,7 @@ ix86_expand_prologue (void)
21 if (STACK_CHECK_MOVING_SP)
22 {
23 ix86_adjust_stack_and_probe (allocate);
24+ m->fs.sp_offset += allocate;
25 allocate = 0;
26 }
27 else
28new file mode 100644
29index 0000000..ad10209
30--- /dev/null
31+++ b/gcc/testsuite/gcc.target/i386/pr48723.c
32@@ -0,0 +1,13 @@
33+/* { dg-do compile } */
34+/* { dg-options "-fstack-check -mavx" } */
35+
36+struct S0
37+{
38+ int f0, f1, f2, f3;
39+} g_106;
40+
41+struct S0
42+func_99 ()
43+{
44+ return (g_106);
45+}
46--
471.7.0.4
48