summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc/gcc-4.8/0039-gcc-4.8-PR57717.patch
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2013-06-27 08:38:37 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-06-28 09:14:07 +0100
commit3030bbd85de6af30c4c515b04434ac95d762927a (patch)
treefd5c68c79def42cbcae3f4f60bdd7b9f95444714 /meta/recipes-devtools/gcc/gcc-4.8/0039-gcc-4.8-PR57717.patch
parent9b007f61b20b3f1bb20eaf2bc80f1abd797dc9a5 (diff)
downloadpoky-3030bbd85de6af30c4c515b04434ac95d762927a.tar.gz
gcc-4.8: Fix ICE on ppc/spe targets
Rename patches to make them easly to apply with git (From OE-Core rev: 040a55d0b730bf78aad0f51e0018faa88655e279) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-4.8/0039-gcc-4.8-PR57717.patch')
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.8/0039-gcc-4.8-PR57717.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.8/0039-gcc-4.8-PR57717.patch b/meta/recipes-devtools/gcc/gcc-4.8/0039-gcc-4.8-PR57717.patch
new file mode 100644
index 0000000000..f983f70d02
--- /dev/null
+++ b/meta/recipes-devtools/gcc/gcc-4.8/0039-gcc-4.8-PR57717.patch
@@ -0,0 +1,23 @@
1This backports fix from http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57717
2
3Upstream-Status: Backport
4Signed-off-by: Khem Raj <raj.khem@gmail.com>
5
6Index: gcc-4.8.1/gcc/config/rs6000/rs6000.c
7===================================================================
8--- gcc-4.8.1.orig/gcc/config/rs6000/rs6000.c 2013-05-09 18:54:06.000000000 -0700
9+++ gcc-4.8.1/gcc/config/rs6000/rs6000.c 2013-06-27 08:22:40.459021366 -0700
10@@ -5431,11 +5431,12 @@
11
12 case TFmode:
13 case TDmode:
14- case TImode:
15 if (TARGET_E500_DOUBLE)
16 return (SPE_CONST_OFFSET_OK (offset)
17 && SPE_CONST_OFFSET_OK (offset + 8));
18+ /* Fall through. */
19
20+ case TImode:
21 extra = 8;
22 if (!worst_case)
23 break;