pr32000-2.c: Use dg-skip-if for target expression.
* gcc.target/i386/pr32000-2.c: Use dg-skip-if for target expression. * gcc.target/i386/stackalign/return-3.c: Ditto. * gcc.target/sparc/ultrasp3.c: Ditto. * lib/target-supports-dg.exp (dg-require-effective-target): Error if argument is not a single effective-target keyword. From-SVN: r139039
This commit is contained in:
parent
e17652512b
commit
57647020dd
|
@ -1,5 +1,11 @@
|
|||
2008-08-12 Janis Johnson <janis187@us.ibm.com>
|
||||
|
||||
* gcc.target/i386/pr32000-2.c: Use dg-skip-if for target expression.
|
||||
* gcc.target/i386/stackalign/return-3.c: Ditto.
|
||||
* gcc.target/sparc/ultrasp3.c: Ditto.
|
||||
* lib/target-supports-dg.exp (dg-require-effective-target): Error
|
||||
if argument is not a single effective-target keyword.
|
||||
|
||||
PR testsuite/36087
|
||||
* gcc.dg/var-expand3.c: Fix name of dump file.
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* { dg-do run } */
|
||||
/* { dg-require-effective-target ilp32 && dfp } */
|
||||
/* { dg-skip-if "" { ! { ilp32 && dfp } } } */
|
||||
/* { dg-options "-O -msse2 -std=gnu99 -mpreferred-stack-boundary=2" } */
|
||||
|
||||
#include "sse2-check.h"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* { dg-do compile } */
|
||||
/* { dg-require-effective-target ilp32 && dfp } */
|
||||
/* { dg-skip-if "" { ! { ilp32 && dfp } } } */
|
||||
/* { dg-options "-msse -std=gnu99 -mpreferred-stack-boundary=2" } */
|
||||
|
||||
/* This compile only test is to detect an assertion failure in stack branch
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* { dg-do run } */
|
||||
/* { dg-require-effective-target ilp32 && ultrasparc_hw } */
|
||||
/* { dg-skip-if "" { ! { ilp32 && ultrasparc_hw } } } */
|
||||
/* { dg-options "-mcpu=ultrasparc -mv8plus" } */
|
||||
|
||||
extern void abort (void);
|
||||
|
|
|
@ -117,6 +117,9 @@ proc dg-require-named-sections { args } {
|
|||
|
||||
proc dg-require-effective-target { args } {
|
||||
set args [lreplace $args 0 0]
|
||||
if { [llength $args] != 1 } {
|
||||
error "syntax error, need a single effective-target keyword"
|
||||
}
|
||||
if { ![is-effective-target [lindex $args 0]] } {
|
||||
upvar dg-do-what dg-do-what
|
||||
set dg-do-what [list [lindex ${dg-do-what} 0] "N" "P"]
|
||||
|
|
Loading…
Reference in New Issue