ports/devel/xtensa-esp32-elf/gcc-bootstrap/patches/vecstep-gcc_tree-vect-loop_c

17 lines
535 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
clang on powerpc64 defines vec_step already which collides with the
symbol in gcc, see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239266#c23
renaming suggested at https://gcc.gnu.org/legacy-ml/gcc/2019-07/msg00131.html
Index: gcc/tree-vect-loop.c
--- gcc/tree-vect-loop.c.orig
+++ gcc/tree-vect-loop.c
@@ -55,6 +55,8 @@ along with GCC; see the file COPYING3. If not see
#include "vec-perm-indices.h"
#include "tree-eh.h"
+#define vec_step vec_step_
+
/* Loop Vectorization Pass.
This pass tries to vectorize loops.