aboutsummaryrefslogblamecommitdiffstats
path: root/community/gcc6/fix-ppc64le-coercion-r261621.patch
blob: bd321ca4ab742a396a1eb1a4b6d893bb23db881a (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                      
--- a/libcpp/lex.c
+++ b/libcpp/lex.c
@@ -568,7 +568,7 @@
     {
       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);