]> gcc.gnu.org Git - gcc.git/commitdiff
x86: Also pass -mno-avx to cold-attribute-1.c
authorH.J. Lu <hjl.tools@gmail.com>
Mon, 2 Aug 2021 17:01:47 +0000 (10:01 -0700)
committerH.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

index 57666ac60b68eff359baa76b259e76d5db00d0ee..658eb3e25bb0a42cf606f59e6d6678ebbe57dd67 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O2" } */
+/* { dg-options "-O2 -mno-avx" } */
 #include <string.h>
 static inline
 __attribute__ ((cold)) void
This page took 0.07226 seconds and 5 git commands to generate.