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
This commit is contained in:
Joseph Myers 2008-06-09 22:11:40 +01:00 committed by Joseph Myers
parent 21dfc6dc74
commit 5cb0cd01c1
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2008-06-09 Joseph Myers <joseph@codesourcery.com>
* gcc.dg/pr34856.c: Condition use of -maltivec on
powerpc_altivec_ok. Use -w on other powerpc*-*-linux*.
2008-06-09 Richard Sandiford <rdsandiford@googlemail.com>
* gcc.dg/torture/mips-hilo-1.c: Delete.

View File

@ -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;