From 9e3a83c18a2252b5e3a8c7ba91636534cb7c7a17 Mon Sep 17 00:00:00 2001 From: Sriraman Tallam Date: Wed, 13 Feb 2013 21:51:27 +0000 Subject: [PATCH] mv12-aux.C: Delete, move to mv12-aux.cc. 2013-02-13 Sriraman Tallam * g++.dg/ext/mv12-aux.C: Delete, move to mv12-aux.cc. * g++.dg/ext/mv12-aux.cc: New file. * g++.dg/ext/mv12.h: Remove directives. Fix comment. * g++.dg/ext/mv12.C: Fix file name. From-SVN: r196033 --- gcc/testsuite/g++.dg/ext/{mv12-aux.C => mv12-aux.cc} | 4 ---- gcc/testsuite/g++.dg/ext/mv12.C | 2 +- gcc/testsuite/g++.dg/ext/mv12.h | 4 +--- 3 files changed, 2 insertions(+), 8 deletions(-) rename gcc/testsuite/g++.dg/ext/{mv12-aux.C => mv12-aux.cc} (68%) diff --git a/gcc/testsuite/g++.dg/ext/mv12-aux.C b/gcc/testsuite/g++.dg/ext/mv12-aux.cc similarity index 68% rename from gcc/testsuite/g++.dg/ext/mv12-aux.C rename to gcc/testsuite/g++.dg/ext/mv12-aux.cc index cb8c01b..611c679 100644 --- a/gcc/testsuite/g++.dg/ext/mv12-aux.C +++ b/gcc/testsuite/g++.dg/ext/mv12-aux.cc @@ -1,10 +1,6 @@ // Test case to check if multiversioning works as expected when the versions // are defined in different files. Auxiliary file for mv12.C. -// { dg-do compile { target i?86-*-* x86_64-*-* } } -// { dg-require-ifunc "" } -// { dg-options "-O2" } - #include "mv12.h" __attribute__ ((target ("sse4.2"))) diff --git a/gcc/testsuite/g++.dg/ext/mv12.C b/gcc/testsuite/g++.dg/ext/mv12.C index 3ffb245..8b2e423 100644 --- a/gcc/testsuite/g++.dg/ext/mv12.C +++ b/gcc/testsuite/g++.dg/ext/mv12.C @@ -4,7 +4,7 @@ // { dg-do run { target i?86-*-* x86_64-*-* } } // { dg-require-ifunc "" } // { dg-options "-O2" } -// { dg-additional-sources "mv12-aux.C" } +// { dg-additional-sources "mv12-aux.cc" } #include "mv12.h" diff --git a/gcc/testsuite/g++.dg/ext/mv12.h b/gcc/testsuite/g++.dg/ext/mv12.h index 1d09f45..650358d 100644 --- a/gcc/testsuite/g++.dg/ext/mv12.h +++ b/gcc/testsuite/g++.dg/ext/mv12.h @@ -1,6 +1,4 @@ -// Header file used by mv12.C and mv12-aux.C. -// { dg-do compile { target i?86-*-* x86_64-*-* } } -// { dg-options "" } +// Header file used by mv12.C and mv12-aux.cc. int foo () __attribute__ ((target ("default"))); int foo () __attribute__ ((target ("sse4.2"))); -- 2.7.4