Hello!

2012-11-16  Uros Bizjak  <ubiz...@gmail.com>

        * g++.dg/mv1.C (dg-options): Add -march=x86-64.
        * g++.dg/mv6.C (dg-options): Ditto.

Tested on x86_64-linux-gnu {,-m32} configured --with-arch=corei7-avx
and committed to mainline SVN.

Uros.

Index: g++.dg/mv1.C
===================================================================
--- g++.dg/mv1.C        (revision 193549)
+++ g++.dg/mv1.C        (working copy)
@@ -1,7 +1,7 @@
 /* Test case to check if Multiversioning works.  */
 /* { dg-do run { target i?86-*-* x86_64-*-* } } */
 /* { dg-require-ifunc "" }  */
-/* { dg-options "-O2 -fPIC -mno-avx -mno-popcnt" } */
+/* { dg-options "-O2 -fPIC -march=x86-64 -mno-avx -mno-popcnt" } */

 #include <assert.h>

Index: g++.dg/mv6.C
===================================================================
--- g++.dg/mv6.C        (revision 193549)
+++ g++.dg/mv6.C        (working copy)
@@ -2,6 +2,7 @@

 /* { dg-do run { target i?86-*-* x86_64-*-* } } */
 /* { dg-require-ifunc "" }  */
+/* { dg-options "-march=x86-64" } */

 class Foo
 {

Reply via email to