public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-2670] x86: Also pass -mno-avx to cold-attribute-1.c
@ 2021-08-02 17:41 H.J. Lu
  0 siblings, 0 replies; only message in thread
From: H.J. Lu @ 2021-08-02 17:41 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:20a1c9aae0bb5302fb35c2dae29e3e65a3bcdcb8

commit r12-2670-g20a1c9aae0bb5302fb35c2dae29e3e65a3bcdcb8
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Mon Aug 2 10:01:47 2021 -0700

    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.

Diff:
---
 gcc/testsuite/gcc.target/i386/cold-attribute-1.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.target/i386/cold-attribute-1.c b/gcc/testsuite/gcc.target/i386/cold-attribute-1.c
index 57666ac60b6..658eb3e25bb 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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-08-02 17:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-02 17:41 [gcc r12-2670] x86: Also pass -mno-avx to cold-attribute-1.c H.J. Lu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).