summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/var-expand1.c
diff options
context:
space:
mode:
authorbwilson <bwilson@138bc75d-0d04-0410-961f-82ee72b054a4>2007-11-29 02:50:46 +0000
committerbwilson <bwilson@138bc75d-0d04-0410-961f-82ee72b054a4>2007-11-29 02:50:46 +0000
commitc492c383f3a29b351302e9f377463063a6b103ad (patch)
tree28085564c9407678cdd894587ae74410ab4118d7 /gcc/testsuite/gcc.dg/var-expand1.c
parentd725bdc3755e271fc6fb5701be9bbfbc1b445fe0 (diff)
downloadgcc-c492c383f3a29b351302e9f377463063a6b103ad.tar.gz
* lib/target-supports.exp (check_effective_target_mips_soft_float):
Delete. (check_effective_target_hard_float): New. * gcc.dg/var-expand1.c: Skip for targets without FPU instructions. * gcc.dg/pr30957-1.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@130509 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.dg/var-expand1.c')
-rw-r--r--gcc/testsuite/gcc.dg/var-expand1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/gcc.dg/var-expand1.c b/gcc/testsuite/gcc.dg/var-expand1.c
index 89114c51e8b..707e346d63b 100644
--- a/gcc/testsuite/gcc.dg/var-expand1.c
+++ b/gcc/testsuite/gcc.dg/var-expand1.c
@@ -1,7 +1,7 @@
/* { dg-do compile } */
/* We don't (and don't want to) perform this optimisation on soft-float
- MIPS targets, where each addition is a library call. */
-/* { dg-skip-if "" { mips_soft_float } { "*" } { "" } } */
+ targets, where each addition is a library call. */
+/* { dg-require-effective-target hard_float } */
/* { dg-options "-O2 -funroll-loops --fast-math -fvariable-expansion-in-unroller -dL" } */
extern void abort (void);