From 4a9ad29487b5a1829bcc1fdb4c588e779bc27dad Mon Sep 17 00:00:00 2001
From: Janis Johnson <janisjo@codesourcery.com>
Date: Fri, 12 Oct 2012 19:45:25 +0000
Subject: [PATCH] pr48765.c: Skip for conflicting options, don't specify -m64.

	* gcc.dg/vect/pr48765.c: Skip for conflicting options, don't
	specify -m64.

From-SVN: r192412
---
 gcc/testsuite/ChangeLog             | 3 +++
 gcc/testsuite/gcc.dg/vect/pr48765.c | 5 +++--
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 12cedf9c0f49..5cff4875fd80 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,5 +1,8 @@
 2012-10-12  Janis Johnson  <janisjo@codesourcery.com>
 
+	* gcc.dg/vect/pr48765.c: Skip for conflicting options, don't
+	specify -m64.
+
 	* gcc.target/arm/div64-unwinding.c: Skip, don't xfail, for
 	GNU/Linux.
 
diff --git a/gcc/testsuite/gcc.dg/vect/pr48765.c b/gcc/testsuite/gcc.dg/vect/pr48765.c
index 469c4f423ce2..50839e389c72 100644
--- a/gcc/testsuite/gcc.dg/vect/pr48765.c
+++ b/gcc/testsuite/gcc.dg/vect/pr48765.c
@@ -1,5 +1,6 @@
-/* { dg-do compile { target powerpc*-*-* } } */
-/* { dg-options "-m64 -O3 -mcpu=power6" } */
+/* { dg-do compile { target { powerpc*-*-* } } } */
+/* { dg-skip-if "do not override -mcpu" { *-*-* } { "-mcpu=*" } { "-mcpu=power6" } } */
+/* { dg-options "-O3 -mcpu=power6" } */
 
 enum reg_class
 {
-- 
GitLab