Stopgap fix for gcc platforms.
Our in-tree gcc doesn't have a no-tree-vectorize optimization knob, so we get a warning that it's unused. This causes the build to fail on all our gcc platforms. Add a quick version check as a stop-gap measure to get CI building again.
This commit is contained in:
parent
6b1bc6f7dd
commit
5e34c4c505
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=350778
@ -128,7 +128,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* vectorization */
|
/* vectorization */
|
||||||
#if !defined(__clang__) && defined(__GNUC__)
|
#if !defined(__clang__) && defined(__GNUC__) && __GNUC__ > 5
|
||||||
# define DONT_VECTORIZE __attribute__((optimize("no-tree-vectorize")))
|
# define DONT_VECTORIZE __attribute__((optimize("no-tree-vectorize")))
|
||||||
#else
|
#else
|
||||||
# define DONT_VECTORIZE
|
# define DONT_VECTORIZE
|
||||||
|
Loading…
Reference in New Issue
Block a user