projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37edf28
)
Add no strict aliasing to m128-check.h
author
Jan Hubicka
<jh@suse.cz>
Tue, 22 Sep 2020 07:24:40 +0000
(09:24 +0200)
committer
Jan Hubicka
<jh@suse.cz>
Tue, 22 Sep 2020 07:29:56 +0000
(09:29 +0200)
* gcc.target/i386/m128-check.h: Add no-strict-aliasing
gcc/testsuite/gcc.target/i386/m128-check.h
patch
|
blob
|
history
diff --git
a/gcc/testsuite/gcc.target/i386/m128-check.h
b/gcc/testsuite/gcc.target/i386/m128-check.h
index 48b233285396c0b8a7182bdfa9143d0368e3a9d5..6f414b07be7725fb9ebe2668dda053db4e79f2ad 100644
(file)
--- a/
gcc/testsuite/gcc.target/i386/m128-check.h
+++ b/
gcc/testsuite/gcc.target/i386/m128-check.h
@@
-78,6
+78,7
@@
typedef union
#define CHECK_EXP(UINON_TYPE, VALUE_TYPE, FMT) \
static int \
+__attribute__((optimize ("no-strict-aliasing"))) \
__attribute__((noinline, unused)) \
check_##UINON_TYPE (UINON_TYPE u, const VALUE_TYPE *v) \
{ \