target-supports.exp (check_effective_target_hard_float): Remove special case for...
authorBob Wilson <bob.wilson@acm.org>
Tue, 5 Feb 2008 21:28:42 +0000 (21:28 +0000)
committerBob Wilson <bwilson@gcc.gnu.org>
Tue, 5 Feb 2008 21:28:42 +0000 (21:28 +0000)
* lib/target-supports.exp (check_effective_target_hard_float): Remove
special case for xtensa-*-*.

From-SVN: r132130

gcc/testsuite/ChangeLog
gcc/testsuite/lib/target-supports.exp

index 59cb304a7e488469ada0c620962e2bec12eb40c9..f6e3a77410c4b442187518e5450157f6babebf68 100644 (file)
@@ -1,3 +1,8 @@
+2008-02-05  Bob Wilson  <bob.wilson@acm.org>
+
+       * lib/target-supports.exp (check_effective_target_hard_float): Remove
+       special case for xtensa-*-*.
+       
 2008-02-05  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
 
        PR fortran/35037
index 1286a981cb22a4b67d9c6c7cb109f5b949bb7e83..3f8cfaad7535d20f58ca9b344ec55e1e36ef9a8a 100644 (file)
@@ -579,11 +579,9 @@ proc check_effective_target_mpaired_single { } {
 # Return true if the target has access to FPU instructions.
 
 proc check_effective_target_hard_float { } {
-    if { [istarget mips*-*-*] || [istarget xtensa-*-*] } {
+    if { [istarget mips*-*-*] } {
        return [check_no_compiler_messages hard_float assembly {
-               #if ((defined __mips \
-                     && (defined __mips_soft_float || defined __mips16)) \
-                || (defined __xtensa__ && defined __XTENSA_SOFT_FLOAT__))
+               #if (defined __mips_soft_float || defined __mips16)
                #error FOO
                #endif
        }]