simd-2.C: Use -O -w in general for PowerPC.

* g++.dg/eh/simd-2.C: Use -O -w in general for PowerPC.
	* gcc.dg/debug/dwarf2/const-2.c: Use powerpc_altivec_ok.

From-SVN: r119152
This commit is contained in:
Joseph Myers 2006-11-24 14:06:26 +00:00 committed by Joseph Myers
parent 8bb501bb10
commit 2cc96acce8
3 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2006-11-24 Joseph Myers <joseph@codesourcery.com>
* g++.dg/eh/simd-2.C: Use -O -w in general for PowerPC.
* gcc.dg/debug/dwarf2/const-2.c: Use powerpc_altivec_ok.
2006-11-24 Andreas Krebbel <krebbel1@de.ibm.com>
* gcc.dg/20061124-1.c: New testcase.

View File

@ -2,6 +2,7 @@
// Contributed by Aldy Hernandez (aldy@quesejoda.com).
// { dg-options "-O" }
// { dg-options "-O -w" { target { { i?86-*-* x86_64-*-* } && ilp32 } } }
// { dg-options "-O -w" { target powerpc*-*-* } }
// { dg-options "-O -w -maltivec" { target { powerpc*-*-linux* && powerpc_altivec_ok } } }
// { dg-xfail-if "" { "powerpc-*-eabispe*" "powerpc-ibm-aix*" } { "*" } { "" } }
// { dg-do run }

View File

@ -1,4 +1,4 @@
/* { dg-do compile { target powerpc*-*-* } } */
/* { dg-do compile { target powerpc_altivec_ok } } */
/* { dg-options "-O -gdwarf-2 -dA -maltivec" } */
/* { dg-final { scan-assembler "DW_AT_const_value" } } */