FreeBSD Bugzilla – Attachment 206116 Details for
Bug 239266
clang poisons namespace on powerpc by defining vec_step without any trigger (GCC fails to build: tree-vect-loop.c:4979:12: error: expected unqualified-id)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Fixed hack to work around clang issue (not including in-flight changes to other ports)
patch-clang-vec_step (text/plain), 1.19 KB, created by
Gerald Pfeifer
on 2019-07-28 13:19:44 UTC
(
hide
)
Description:
Fixed hack to work around clang issue (not including in-flight changes to other ports)
Filename:
MIME Type:
Creator:
Gerald Pfeifer
Created:
2019-07-28 13:19:44 UTC
Size:
1.19 KB
patch
obsolete
>Index: lang/gcc8/files/patch-clang-vec_step >=================================================================== >--- lang/gcc8/files/patch-clang-vec_step (nonexistent) >+++ lang/gcc8/files/patch-clang-vec_step (working copy) >@@ -0,0 +1,17 @@ >+https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239266 reports how >+clang unfortunately poisons user namespace by default (without any >+special options), so we need to avoid using vec_step as a variable. >+ >+Index: gcc/tree-vect-loop.c >+=================================================================== >+--- gcc/tree-vect-loop.c (revision 273856) >++++ gcc/tree-vect-loop.c (working copy) >+@@ -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. > >Property changes on: lang/gcc8/files/patch-clang-vec_step >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 239266
:
205872
|
206115
| 206116