diff options
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-5.3/0061-nios2-Make-assert-less-restrictive.patch')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.3/0061-nios2-Make-assert-less-restrictive.patch | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-5.3/0061-nios2-Make-assert-less-restrictive.patch b/meta/recipes-devtools/gcc/gcc-5.3/0061-nios2-Make-assert-less-restrictive.patch deleted file mode 100644 index 6a20694e44..0000000000 --- a/meta/recipes-devtools/gcc/gcc-5.3/0061-nios2-Make-assert-less-restrictive.patch +++ /dev/null | |||
@@ -1,35 +0,0 @@ | |||
1 | From 802c64857074cb7b002d91ce6352139c2353ca06 Mon Sep 17 00:00:00 2001 | ||
2 | From: cltang <cltang@138bc75d-0d04-0410-961f-82ee72b054a4> | ||
3 | Date: Sat, 21 May 2016 08:26:11 +0000 | ||
4 | Subject: [PATCH] 2016-05-21 Chung-Lin Tang <cltang@codesourcery.com> | ||
5 | |||
6 | Backport from mainline | ||
7 | 2015-06-29 Sandra Loosemore <sandra@codesourcery.com> | ||
8 | |||
9 | * config/nios2/nios2.c (nios2_delegitimize_address): Make | ||
10 | assert less restrictive. | ||
11 | |||
12 | |||
13 | |||
14 | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-5-branch@236555 138bc75d-0d04-0410-961f-82ee72b054a4 | ||
15 | Upstream-Status: Backport (git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-5-branch@236555 138bc75d-0d04-0410-961f-82ee72b054a4) | ||
16 | --- | ||
17 | gcc/config/nios2/nios2.c | 2 +- | ||
18 | 1 files changed, 1 insertions(+), 1 deletion(-) | ||
19 | |||
20 | diff --git a/gcc/config/nios2/nios2.c b/gcc/config/nios2/nios2.c | ||
21 | index 7b6b389..3b22331 100644 | ||
22 | --- a/gcc/config/nios2/nios2.c | ||
23 | +++ b/gcc/config/nios2/nios2.c | ||
24 | @@ -1930,7 +1930,7 @@ nios2_delegitimize_address (rtx x) | ||
25 | case UNSPEC_LOAD_TLS_IE: | ||
26 | case UNSPEC_ADD_TLS_LE: | ||
27 | x = XVECEXP (XEXP (x, 0), 0, 0); | ||
28 | - gcc_assert (GET_CODE (x) == SYMBOL_REF); | ||
29 | + gcc_assert (CONSTANT_P (x)); | ||
30 | break; | ||
31 | } | ||
32 | } | ||
33 | -- | ||
34 | 2.8.1 | ||
35 | |||