summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/pr33870.x
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.c-torture/execute/pr33870.x')
-rw-r--r--gcc/testsuite/gcc.c-torture/execute/pr33870.x9
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.c-torture/execute/pr33870.x b/gcc/testsuite/gcc.c-torture/execute/pr33870.x
new file mode 100644
index 00000000000..fbf8aae4ab6
--- /dev/null
+++ b/gcc/testsuite/gcc.c-torture/execute/pr33870.x
@@ -0,0 +1,9 @@
+# The test breaks because of wrong alias info for -O2 and -Os
+
+set torture_eval_before_compile {
+ if {[string match {*-O[2s]*} "$option"]} {
+ set torture_execute_xfail "*-*-*"
+ }
+}
+
+return 0