vect.exp: Skip PowerPC targets not supporting -maltivec.

* gcc.dg/vect/vect.exp: Skip PowerPC targets not supporting
	-maltivec.

From-SVN: r119339
This commit is contained in:
Joseph Myers
2006-11-30 00:13:41 +00:00
committed by Joseph Myers
parent a22d6485de
commit a8b3e1345d
2 changed files with 9 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
2006-11-30 Joseph Myers <joseph@codesourcery.com>
* gcc.dg/vect/vect.exp: Skip PowerPC targets not supporting
-maltivec.
2006-11-29 Lee Millward <lee.millward@codesourcery.com>
PR c++/29022

View File

@@ -37,7 +37,10 @@ set save-dg-do-what-default ${dg-do-what-default}
# code. Set additional target-dependent vector flags, which can be
# overridden by using dg-options in individual tests.
if [istarget "powerpc*-*-*"] {
# If there are powerpc targets to skip, do it here.
# Skip targets not supporting -maltivec.
if ![is-effective-target powerpc_altivec_ok] {
return
}
lappend DEFAULT_VECTCFLAGS "-maltivec"
if [check_vmx_hw_available] {