From 5cb0cd01c181878188c31d9dd519644af6a202e4 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Mon, 9 Jun 2008 22:11:40 +0100 Subject: [PATCH] pr34856.c: Condition use of -maltivec on powerpc_altivec_ok. * gcc.dg/pr34856.c: Condition use of -maltivec on powerpc_altivec_ok. Use -w on other powerpc*-*-linux*. From-SVN: r136601 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.dg/pr34856.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 824355caf63..58f1e52f220 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2008-06-09 Joseph Myers + + * gcc.dg/pr34856.c: Condition use of -maltivec on + powerpc_altivec_ok. Use -w on other powerpc*-*-linux*. + 2008-06-09 Richard Sandiford * gcc.dg/torture/mips-hilo-1.c: Delete. diff --git a/gcc/testsuite/gcc.dg/pr34856.c b/gcc/testsuite/gcc.dg/pr34856.c index 416b40b91ba..ae42c85b0bd 100644 --- a/gcc/testsuite/gcc.dg/pr34856.c +++ b/gcc/testsuite/gcc.dg/pr34856.c @@ -1,7 +1,8 @@ /* { dg-do compile } */ /* { dg-options "-O2" } */ /* { dg-options "-O2 -msse2" { target { i?86-*-* x86_64-*-* } } } */ -/* { dg-options "-O2 -maltivec" { target { powerpc*-*-linux* } } } */ +/* { dg-options "-O2 -w" { target { powerpc*-*-linux* } } } */ +/* { dg-options "-O2 -maltivec" { target { powerpc*-*-linux* && powerpc_altivec_ok } } } */ typedef unsigned __attribute__ ((__mode__ (__pointer__))) uintptr_t; -- 2.30.2