From: Jeff Law Date: Tue, 1 Dec 2020 21:27:38 +0000 (-0700) Subject: Fix compromised tests after recent switch table improvements X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=968666a011b904f70d12e52180d361faaedfd3a2;p=gcc.git 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. --- 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);