From b0d5b9f12adbce2c4a0df6059f5671188cd32293 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 30 Apr 2011 12:37:47 -0700 Subject: 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 Signed-off-by: Khem Raj --- .../0167-PR-target-48723.patch | 48 ++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0167-PR-target-48723.patch (limited to 'meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0167-PR-target-48723.patch') 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 000000000..7aab9fb02 --- /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 @@ +From 6798037eb1c55f1dd79c04da313bd6bcd4d2aa9e Mon Sep 17 00:00:00 2001 +From: uros +Date: Fri, 22 Apr 2011 18:43:57 +0000 +Subject: [PATCH 167/200] PR target/48723 + * config/i386/i386.c (ix86_expand_prologue): Update m->fs.sp_offset + after the call to ix86_adjust_stack_and_probe. + +testsuite/ChangeLog: + + PR target/48723 + * gcc.target/i386/pr48723.c: New test. + + + +git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@172867 138bc75d-0d04-0410-961f-82ee72b054a4 + +index 6e4bb3b..c50cbaf 100644 +--- a/gcc/config/i386/i386.c ++++ b/gcc/config/i386/i386.c +@@ -10575,6 +10575,7 @@ ix86_expand_prologue (void) + if (STACK_CHECK_MOVING_SP) + { + ix86_adjust_stack_and_probe (allocate); ++ m->fs.sp_offset += allocate; + allocate = 0; + } + else +new file mode 100644 +index 0000000..ad10209 +--- /dev/null ++++ b/gcc/testsuite/gcc.target/i386/pr48723.c +@@ -0,0 +1,13 @@ ++/* { dg-do compile } */ ++/* { dg-options "-fstack-check -mavx" } */ ++ ++struct S0 ++{ ++ int f0, f1, f2, f3; ++} g_106; ++ ++struct S0 ++func_99 () ++{ ++ return (g_106); ++} +-- +1.7.0.4 + -- cgit v1.2.3