aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/memcheck/blkarg.x
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.c-torture/execute/memcheck/blkarg.x')
-rw-r--r--gcc/testsuite/gcc.c-torture/execute/memcheck/blkarg.x9
1 files changed, 5 insertions, 4 deletions
diff --git a/gcc/testsuite/gcc.c-torture/execute/memcheck/blkarg.x b/gcc/testsuite/gcc.c-torture/execute/memcheck/blkarg.x
index 52b53fe2163..a56e2ca59b7 100644
--- a/gcc/testsuite/gcc.c-torture/execute/memcheck/blkarg.x
+++ b/gcc/testsuite/gcc.c-torture/execute/memcheck/blkarg.x
@@ -1,9 +1,10 @@
-# The memeory checking code does not mark the stack as readable or writable
+# The memory checking code does not mark the stack as readable or writable
# so this test fails. Ideally the memory checking library ought to
# cooperate with the host OS to mark the stack as it is used or individual
# function prologues and epilogues ought to mark their pieces of stack as
# writable and readable-after-written.
-set torture_execute_xfail "*-*-*"
-
-return 0
+# Setting XFAIL here creates noise because the test passes at
+# random optimization levels for quite a number of targets.
+# Don't run the test at all.
+return 1