diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2013-12-26 13:24:06 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2013-12-26 13:24:06 -0600 |
commit | 349f642f056d059b72dbfa3cba3763964b15d876 (patch) | |
tree | a3f309e659b0a3754499e71ff558aee3c2ecb10f /misc/buildroot/toolchain/gcc/4.8.2/840-PR57717.patch | |
parent | 528a08e265854a95976a5d77e91bdb934482a278 (diff) | |
download | nuttx-349f642f056d059b72dbfa3cba3763964b15d876.tar.gz nuttx-349f642f056d059b72dbfa3cba3763964b15d876.tar.bz2 nuttx-349f642f056d059b72dbfa3cba3763964b15d876.zip |
Add GCc 4.8.2 support for buildroot
Diffstat (limited to 'misc/buildroot/toolchain/gcc/4.8.2/840-PR57717.patch')
-rw-r--r-- | misc/buildroot/toolchain/gcc/4.8.2/840-PR57717.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/misc/buildroot/toolchain/gcc/4.8.2/840-PR57717.patch b/misc/buildroot/toolchain/gcc/4.8.2/840-PR57717.patch new file mode 100644 index 000000000..f983f70d0 --- /dev/null +++ b/misc/buildroot/toolchain/gcc/4.8.2/840-PR57717.patch @@ -0,0 +1,23 @@ +This backports fix from http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57717 + +Upstream-Status: Backport +Signed-off-by: Khem Raj <raj.khem@gmail.com> + +Index: gcc-4.8.1/gcc/config/rs6000/rs6000.c +=================================================================== +--- gcc-4.8.1.orig/gcc/config/rs6000/rs6000.c 2013-05-09 18:54:06.000000000 -0700 ++++ gcc-4.8.1/gcc/config/rs6000/rs6000.c 2013-06-27 08:22:40.459021366 -0700 +@@ -5431,11 +5431,12 @@ + + case TFmode: + case TDmode: +- case TImode: + if (TARGET_E500_DOUBLE) + return (SPE_CONST_OFFSET_OK (offset) + && SPE_CONST_OFFSET_OK (offset + 8)); ++ /* Fall through. */ + ++ case TImode: + extra = 8; + if (!worst_case) + break; |