From 968666a011b904f70d12e52180d361faaedfd3a2 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Tue, 1 Dec 2020 14:27:38 -0700 Subject: [PATCH] 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. --- gcc/testsuite/gcc.dg/pr46309-2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.dg/pr46309-2.c b/gcc/testsuite/gcc.dg/pr46309-2.c index f56df42935c..2903fff225a 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); -- 2.30.2