Fix compromised tests after recent switch table improvements
authorJeff Law <law@redhat.com>
Tue, 1 Dec 2020 21:27:38 +0000 (14:27 -0700)
committerJeff Law <law@redhat.com>
Tue, 1 Dec 2020 21:30:08 +0000 (14:30 -0700)
gcc/testsuite
* gcc.dg/pr46309-2.c: Add -fno-bit-tests and -fno-jump-tables
to avoid compromising the test.

gcc/testsuite/gcc.dg/pr46309-2.c

index f56df42935cf6816fd8539ddf725b2325f9cce87..2903fff225a5d0a55acf01de4d37708797a6fe14 100644 (file)
@@ -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);