summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc/gcc-7.3/0001-Fix-ppc64le-build-Partial-backport-r256656.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-7.3/0001-Fix-ppc64le-build-Partial-backport-r256656.patch')
-rw-r--r--meta/recipes-devtools/gcc/gcc-7.3/0001-Fix-ppc64le-build-Partial-backport-r256656.patch37
1 files changed, 0 insertions, 37 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-7.3/0001-Fix-ppc64le-build-Partial-backport-r256656.patch b/meta/recipes-devtools/gcc/gcc-7.3/0001-Fix-ppc64le-build-Partial-backport-r256656.patch
deleted file mode 100644
index cfb70e1ecd..0000000000
--- a/meta/recipes-devtools/gcc/gcc-7.3/0001-Fix-ppc64le-build-Partial-backport-r256656.patch
+++ /dev/null
@@ -1,37 +0,0 @@
1From aa65a43516da1d48011ef621ed5988289711d99b Mon Sep 17 00:00:00 2001
2From: marxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
3Date: Fri, 29 Jun 2018 09:31:30 +0000
4Subject: [PATCH] Partial backport r256656
5
62018-06-29 Martin Liska <mliska@suse.cz>
7
8 Backport from mainline
9 2018-01-10 Kelvin Nilsen <kelvin@gcc.gnu.org>
10
11 * lex.c (search_line_fast): Remove illegal coercion of an
12 unaligned pointer value to vector pointer type and replace with
13 use of __builtin_vec_vsx_ld () built-in function, which operates
14 on unaligned pointer values.
15
16Upstream-Status: Backport
17Signed-off-by: Joel Stanley <joel@jms.id.au>
18---
19 libcpp/lex.c | 2 +-
20 1 files changed, 1 insertions(+), 1 deletion(-)
21
22diff --git a/libcpp/lex.c b/libcpp/lex.c
23index 097c78002cbb..e0fb9e822c44 100644
24--- a/libcpp/lex.c
25+++ b/libcpp/lex.c
26@@ -568,7 +568,7 @@ search_line_fast (const uchar *s, const uchar *end ATTRIBUTE_UNUSED)
27 {
28 vc m_nl, m_cr, m_bs, m_qm;
29
30- data = *((const vc *)s);
31+ data = __builtin_vec_vsx_ld (0, s);
32 s += 16;
33
34 m_nl = (vc) __builtin_vec_cmpeq(data, repl_nl);
35--
362.17.1
37