View | Details | Raw Unified | Return to bug 239266 | Differences between
and this patch

Collapse All | Expand All

(-)lang/gcc8/files/patch-clang-vec_step (+17 lines)
Line 0 Link Here
1
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239266 reports how
2
clang unfortunately poisons user namespace by default (without any
3
special options), so we need to avoid using vec_step as a variable.
4
5
Index: gcc/tree-vect-loop.c
6
===================================================================
7
--- gcc/tree-vect-loop.c	(revision 273856)
8
+++ gcc/tree-vect-loop.c	(working copy)
9
@@ -55,6 +55,8 @@ along with GCC; see the file COPYING3.  If not see
10
 #include "vec-perm-indices.h"
11
 #include "tree-eh.h"
12
 
13
+#define vec_step vec_step_
14
+
15
 /* Loop Vectorization Pass.
16
 
17
    This pass tries to vectorize loops.

Return to bug 239266