aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/lib
diff options
context:
space:
mode:
authorRichard Sandiford <richard@codesourcery.com>2008-04-09 09:13:23 +0000
committerNathan Sidwell <nathan@gcc.gnu.org>2008-04-09 09:13:23 +0000
commitc6fee2278be28235116e38574cc5078e2d0a7289 (patch)
treeb08e1bf9784d40ea282946b3d1d39753e51ca9a6 /gcc/testsuite/lib
parent24722ea98e979fd3c7a0e82c8f422544fa5cd947 (diff)
downloadgcc-c6fee2278be28235116e38574cc5078e2d0a7289.zip
gcc-c6fee2278be28235116e38574cc5078e2d0a7289.tar.gz
gcc-c6fee2278be28235116e38574cc5078e2d0a7289.tar.bz2
target-supports.exp (check_effective_target_vxworks_kernel): Fix comment.
* lib/target-supports.exp (check_effective_target_vxworks_kernel): Fix comment. (check_effective_target_vxworks_rtp): New procedure. * g++.dg/opt/20050511-1.C: Rename UINT32 for VxWorks kernel mode. * g++.dg/warn/miss-format-1.C: XFAIL for VxWorks. * g++.old-deja/g++.abi/cxa_vec.C: XFAIL for VxWorks kernels. * g++.old-deja/g++.brendan/new3.C: Likewise. * g++.old-deja/g++.eh/badalloc1.C: XFAIL for VxWorks RTPs. * g++.old-deja/g++.law/missed-error2.C: Undefine max for VxWorks kernel mode. * g++.old-deja/g++.mike/init1.C: XFAIL for VxWorks kernel mode. * g++.old-deja/g++.mike/p2736.C: Likewise. * g++.old-deja/g++.mike/p658.C: Undefine OK for VxWorks kernel mode. * g++.old-deja/g++.other/headers1.C: Likewise min and max. * g++.old-deja/g++.robertl/eb79.C: Undefine max for VxWorks kernel mode. From-SVN: r134134
Diffstat (limited to 'gcc/testsuite/lib')
-rw-r--r--gcc/testsuite/lib/target-supports.exp12
1 files changed, 11 insertions, 1 deletions
diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp
index 2d506434..c1bdc79 100644
--- a/gcc/testsuite/lib/target-supports.exp
+++ b/gcc/testsuite/lib/target-supports.exp
@@ -2221,7 +2221,7 @@ proc check_effective_target_simulator { } {
return 0
}
-# Return 1 if the target is a VxWorks RTP.
+# Return 1 if the target is a VxWorks kernel.
proc check_effective_target_vxworks_kernel { } {
return [check_no_compiler_messages vxworks_kernel assembly {
@@ -2231,6 +2231,16 @@ proc check_effective_target_vxworks_kernel { } {
}]
}
+# Return 1 if the target is a VxWorks RTP.
+
+proc check_effective_target_vxworks_rtp { } {
+ return [check_no_compiler_messages vxworks_rtp assembly {
+ #if !defined __vxworks || !defined __RTP__
+ #error NO
+ #endif
+ }]
+}
+
# Return 1 if the target is expected to provide wide character support.
proc check_effective_target_wchar { } {