Hi. I'm going to install following testes patch. It fixes: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86162
Martin
>From 92c822b43d269717575ab5ea6536d07aaad837b4 Mon Sep 17 00:00:00 2001 From: kelvin <kelvin@138bc75d-0d04-0410-961f-82ee72b054a4> Date: Sun, 14 Jan 2018 05:19:29 +0000 Subject: [PATCH] Partial backport r256656 libcpp/ChangeLog: 2018-01-10 Kelvin Nilsen <kel...@gcc.gnu.org> * lex.c (search_line_fast): Remove illegal coercion of an unaligned pointer value to vector pointer type and replace with use of __builtin_vec_vsx_ld () built-in function, which operates on unaligned pointer values. --- libcpp/lex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcpp/lex.c b/libcpp/lex.c index e5a0397f309..b789686f1c4 100644 --- a/libcpp/lex.c +++ b/libcpp/lex.c @@ -568,7 +568,7 @@ search_line_fast (const uchar *s, const uchar *end ATTRIBUTE_UNUSED) { vc m_nl, m_cr, m_bs, m_qm; - data = *((const vc *)s); + data = __builtin_vec_vsx_ld (0, s); s += 16; m_nl = (vc) __builtin_vec_cmpeq(data, repl_nl); -- 2.17.1