projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d7d7475
)
x86: Also pass -mno-avx to cold-attribute-1.c
author
H.J. Lu
<hjl.tools@gmail.com>
Mon, 2 Aug 2021 17:01:47 +0000
(10:01 -0700)
committer
H.J. Lu
<hjl.tools@gmail.com>
Mon, 2 Aug 2021 17:40:50 +0000
(10:40 -0700)
Also pass -mno-avx to pr72839.c to avoid copying data with YMM or ZMM
registers.
* gcc.target/i386/cold-attribute-1.c: Also pass -mno-avx.
gcc/testsuite/gcc.target/i386/cold-attribute-1.c
patch
|
blob
|
history
diff --git
a/gcc/testsuite/gcc.target/i386/cold-attribute-1.c
b/gcc/testsuite/gcc.target/i386/cold-attribute-1.c
index
57666ac
..
658eb3e
100644
(file)
--- a/
gcc/testsuite/gcc.target/i386/cold-attribute-1.c
+++ b/
gcc/testsuite/gcc.target/i386/cold-attribute-1.c
@@
-1,5
+1,5
@@
/* { dg-do compile } */
-/* { dg-options "-O2" } */
+/* { dg-options "-O2
-mno-avx
" } */
#include <string.h>
static inline
__attribute__ ((cold)) void