View | Details | Raw Unified | Return to bug 245483
Collapse All | Expand All

(-)files/patch-clang-vec_step (+21 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).
4
5
Until that changes (or GCC changes) we need to avoid using vec_step
6
as a variable.
7
8
--- UTC
9
Index: gcc/tree-vect-loop.c
10
===================================================================
11
--- gcc/tree-vect-loop.c	(revision 273856)
12
+++ gcc/tree-vect-loop.c	(working copy)
13
@@ -55,6 +55,8 @@ along with GCC; see the file COPYING3.  If not see
14
 #include "vec-perm-indices.h"
15
 #include "tree-eh.h"
16
 
17
+#define vec_step vec_step_
18
+
19
 /* Loop Vectorization Pass.
20
 
21
    This pass tries to vectorize loops.

Return to bug 245483