aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2007-02-23 22:12:49 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>2007-02-23 22:12:49 +0000
commit4be4340a77f1349d71df532a0226f4b5c1585591 (patch)
treecf8201f3edbe2c9f0490456a51b796c9a60678e8 /gcc
parent8371ec74262170c41219caadab840bfe3e0a02d1 (diff)
downloadgcc-4be4340a77f1349d71df532a0226f4b5c1585591.zip
gcc-4be4340a77f1349d71df532a0226f4b5c1585591.tar.gz
gcc-4be4340a77f1349d71df532a0226f4b5c1585591.tar.bz2
target-supports.exp (check_effective_target_unwrapped): New.
* lib/target-supports.exp (check_effective_target_unwrapped): New. * testsuite/27_io/ios_base/sync_with_stdio/1.cc: XFAIL for wrapped targets. From-SVN: r122273
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/lib/target-supports.exp10
2 files changed, 15 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 846244c..e6a75c4 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -2,6 +2,11 @@
* lib/target-supports.exp (check_effective_target_unwrapped): New.
+2007-02-23 Mark Mitchell <mark@codesourcery.com>
+
+ * lib/target-supports.exp (check_effective_target_newlib): New
+ function.
+
2007-02-23 Paul Thomas <pault@gcc.gnu.org>
PR fortran/30660
diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp
index 786f1fc..a13ba3e 100644
--- a/gcc/testsuite/lib/target-supports.exp
+++ b/gcc/testsuite/lib/target-supports.exp
@@ -517,6 +517,16 @@ proc check_effective_target_mpaired_single { } {
} "-mpaired-single"]
}
+# Return 1 if the target does not use a status wrapper.
+
+proc check_effective_target_unwrapped { } {
+ if { [target_info needs_status_wrapper] != "" \
+ && [target_info needs_status_wrapper] != "0" } {
+ return 0
+ }
+ return 1
+}
+
# Return true if iconv is supported on the target. In particular IBM1047.
proc check_iconv_available { test_what } {