+2007-11-20 Richard Sandiford <rsandifo@nildram.co.uk>
+
+ * lib/target-supports.exp (check_effective_target_mips_soft_float):
+ New procedure.
+ * gcc.dg/var-expand1.c: Skip for mips_soft_float.
+ * gcc.dg/pr30957-1.c: Likewise.
+
2007-11-20 Jakub Jelinek <jakub@redhat.com>
PR c++/34089
/* { dg-do run { xfail vax-*-* powerpc-*-*spe } } */
+/* 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 } { "*" } { "" } } */
/* { dg-options "-O2 -funroll-loops -funsafe-math-optimizations -fvariable-expansion-in-unroller -dL" } */
extern void abort (void);
/* { 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 } { "*" } { "" } } */
/* { dg-options "-O2 -funroll-loops --fast-math -fvariable-expansion-in-unroller -dL" } */
extern void abort (void);
} "-mpaired-single"]
}
+# Return true if we're testing a soft-float MIPS target.
+
+proc check_effective_target_mips_soft_float { } {
+ return [check_no_compiler_messages mips_soft_float assembly {
+ #ifndef __mips_soft_float
+ #error FOO
+ #endif
+ }]
+}
+
# Return true if the target is a 64-bit MIPS target.
proc check_effective_target_mips64 { } {