aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2021-08-02 10:01:47 -0700
committerH.J. Lu <hjl.tools@gmail.com>2021-08-02 10:40:50 -0700
commit20a1c9aae0bb5302fb35c2dae29e3e65a3bcdcb8 (patch)
treec272d069ab4904c92dc2a524be588c9e0e3466d6
parentd7d74754a00f5c84bd78d9e30190e16354a8cadc (diff)
downloadgcc-20a1c9aae0bb5302fb35c2dae29e3e65a3bcdcb8.zip
gcc-20a1c9aae0bb5302fb35c2dae29e3e65a3bcdcb8.tar.gz
gcc-20a1c9aae0bb5302fb35c2dae29e3e65a3bcdcb8.tar.bz2
x86: Also pass -mno-avx to cold-attribute-1.c
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.
-rw-r--r--gcc/testsuite/gcc.target/i386/cold-attribute-1.c2
1 files changed, 1 insertions, 1 deletions
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
--- 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