aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>2020-12-01 14:27:38 -0700
committerJeff Law <law@redhat.com>2020-12-01 14:30:08 -0700
commit968666a011b904f70d12e52180d361faaedfd3a2 (patch)
tree749c15759aff6dcb0e7cf7e2c5fc97f952865039 /gcc
parent91ddf867a57b028ab322b737ea8355d5a472cd44 (diff)
downloadgcc-968666a011b904f70d12e52180d361faaedfd3a2.zip
gcc-968666a011b904f70d12e52180d361faaedfd3a2.tar.gz
gcc-968666a011b904f70d12e52180d361faaedfd3a2.tar.bz2
Fix compromised tests after recent switch table improvements
gcc/testsuite * gcc.dg/pr46309-2.c: Add -fno-bit-tests and -fno-jump-tables to avoid compromising the test.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/gcc.dg/pr46309-2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/pr46309-2.c b/gcc/testsuite/gcc.dg/pr46309-2.c
index f56df42..2903fff 100644
--- a/gcc/testsuite/gcc.dg/pr46309-2.c
+++ b/gcc/testsuite/gcc.dg/pr46309-2.c
@@ -1,6 +1,6 @@
/* PR tree-optimization/46309 */
/* { dg-do compile } */
-/* { dg-options "-O2 -fno-ipa-icf -fdump-tree-reassoc-details" } */
+/* { dg-options "-O2 -fno-ipa-icf -fno-jump-tables -fno-bit-tests -fdump-tree-reassoc-details" } */
int foo (void);