diff mbox

[i386] : Add -mtune=generic to gcc.target/i386/sw-1.c

Message ID CAFULd4Yi+aP=ei0NdyP4hO9Ra7ttyaqZhbMetRypcaaVb7Swfw@mail.gmail.com
State New
Headers show

Commit Message

Uros Bizjak Nov. 25, 2012, 10:07 p.m. UTC
Hello!

Otherwise, we can generate real memcpy call for certain targets
(corei7) that interferes with shrink-wrapping.

2012-11-25  Uros Bizjak  <ubizjak@gmail.com>

	* gcc.target/i386/sw-1.c (dg-options): Add -mtune=generic.

Tested on x86_64-linux-gnu, committed to mainline SVN.

Uros.
diff mbox

Patch

Index: gcc.target/i386/sw-1.c
===================================================================
--- gcc.target/i386/sw-1.c	(revision 193792)
+++ gcc.target/i386/sw-1.c	(working copy)
@@ -1,5 +1,5 @@ 
 /* { dg-do compile } */
-/* { dg-options "-O2 -fshrink-wrap -fdump-rtl-pro_and_epilogue" } */
+/* { dg-options "-O2 -mtune=generic -fshrink-wrap -fdump-rtl-pro_and_epilogue" } */
 /* { dg-skip-if "No shrink-wrapping preformed" { x86_64-*-mingw* } { "*" } { "" } } */
 
 #include <string.h>