From: Joseph Myers Date: Mon, 9 Jun 2008 21:11:40 +0000 (+0100) Subject: pr34856.c: Condition use of -maltivec on powerpc_altivec_ok. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5cb0cd01c181878188c31d9dd519644af6a202e4;p=gcc.git 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 --- 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;