Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
vppinfra: selectively disable false-positive GCC-10 warnings
[vpp.git]
/
src
/
vppinfra
/
memcpy_sse3.h
diff --git
a/src/vppinfra/memcpy_sse3.h
b/src/vppinfra/memcpy_sse3.h
index
5346e91
..
d9e4ac6
100644
(file)
--- a/
src/vppinfra/memcpy_sse3.h
+++ b/
src/vppinfra/memcpy_sse3.h
@@
-50,6
+50,11
@@
#include <stdint.h>
#include <x86intrin.h>
#include <stdint.h>
#include <x86intrin.h>
+#include <vppinfra/warnings.h>
+
+/* *INDENT-OFF* */
+WARN_OFF (stringop-overflow)
+/* *INDENT-ON* */
static inline void
clib_mov16 (u8 * dst, const u8 * src)
static inline void
clib_mov16 (u8 * dst, const u8 * src)
@@
-344,6
+349,9
@@
clib_memcpy_fast (void *dst, const void *src, size_t n)
goto COPY_BLOCK_64_BACK15;
}
goto COPY_BLOCK_64_BACK15;
}
+/* *INDENT-OFF* */
+WARN_ON (stringop-overflow)
+/* *INDENT-ON* */
#undef CLIB_MVUNALIGN_LEFT47_IMM
#undef CLIB_MVUNALIGN_LEFT47
#undef CLIB_MVUNALIGN_LEFT47_IMM
#undef CLIB_MVUNALIGN_LEFT47