diff options
author | ToshikazuOhiwa <toshikazu_ohiwa@mail.toyota.co.jp> | 2020-03-30 09:24:26 +0900 |
---|---|---|
committer | ToshikazuOhiwa <toshikazu_ohiwa@mail.toyota.co.jp> | 2020-03-30 09:24:26 +0900 |
commit | 5b80bfd7bffd4c20d80b7c70a7130529e9a755dd (patch) | |
tree | b4bb18dcd1487dbf1ea8127e5671b7bb2eded033 /bsp/meta-synopsys/recipes-devtools/gcc/gcc-arc/0042-ARC-Dont-throw-errors-when-compiling-for-xarch.patch | |
parent | 706ad73eb02caf8532deaf5d38995bd258725cb8 (diff) |
agl-basesystem
Diffstat (limited to 'bsp/meta-synopsys/recipes-devtools/gcc/gcc-arc/0042-ARC-Dont-throw-errors-when-compiling-for-xarch.patch')
-rw-r--r-- | bsp/meta-synopsys/recipes-devtools/gcc/gcc-arc/0042-ARC-Dont-throw-errors-when-compiling-for-xarch.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/bsp/meta-synopsys/recipes-devtools/gcc/gcc-arc/0042-ARC-Dont-throw-errors-when-compiling-for-xarch.patch b/bsp/meta-synopsys/recipes-devtools/gcc/gcc-arc/0042-ARC-Dont-throw-errors-when-compiling-for-xarch.patch new file mode 100644 index 00000000..30c46c77 --- /dev/null +++ b/bsp/meta-synopsys/recipes-devtools/gcc/gcc-arc/0042-ARC-Dont-throw-errors-when-compiling-for-xarch.patch @@ -0,0 +1,25 @@ +From ad177abf331128501b92e946e532ac0361321628 Mon Sep 17 00:00:00 2001 +From: Claudiu Zissulescu <claziss@gmail.com> +Date: Tue, 2 Apr 2019 16:43:15 +0300 +Subject: [PATCH] [FIX][MNL] Don't throw errors when compiling for xarch + +--- + gcc/gimple-ssa-store-merging.c | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/gcc/gimple-ssa-store-merging.c b/gcc/gimple-ssa-store-merging.c +index 9002bfbbad0..dbcd78ed90a 100644 +--- a/gcc/gimple-ssa-store-merging.c ++++ b/gcc/gimple-ssa-store-merging.c +@@ -161,7 +161,11 @@ + #include "selftest.h" + + /* The maximum size (in bits) of the stores this pass should generate. */ ++#ifdef TARGET_LL64 + #define MAX_STORE_BITSIZE (TARGET_LL64 ? 2 * BITS_PER_WORD : BITS_PER_WORD) ++#else ++#define MAX_STORE_BITSIZE (BITS_PER_WORD) ++#endif + #define MAX_STORE_BYTES (MAX_STORE_BITSIZE / BITS_PER_UNIT) + + /* Limit to bound the number of aliasing checks for loads with the same |