summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/20030216-1.x
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.c-torture/execute/20030216-1.x')
-rw-r--r--gcc/testsuite/gcc.c-torture/execute/20030216-1.x12
1 files changed, 12 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.c-torture/execute/20030216-1.x b/gcc/testsuite/gcc.c-torture/execute/20030216-1.x
new file mode 100644
index 000000000..a0e03e379
--- /dev/null
+++ b/gcc/testsuite/gcc.c-torture/execute/20030216-1.x
@@ -0,0 +1,12 @@
+# This test requires constant propagation of loads and stores to be
+# enabled. This is only guaranteed at -O2 and higher. Do not run
+# at -O1.
+
+set torture_eval_before_compile {
+ if {[string match {*-O1*} "$option"]} {
+ continue
+ }
+}
+
+return 0
+