From: Jeff Law Date: Tue, 1 Dec 2020 22:06:48 +0000 (-0700) Subject: Fix more minor testsuite fallout from improved switch optimization X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c7e2ef13149791be24bc563428fcb864e770d843;p=gcc.git Fix more minor testsuite fallout from improved switch optimization gcc/testsuite * gcc.dg/tree-ssa/pr96480.c: Disable jump table optimization --- diff --git a/gcc/testsuite/gcc.dg/tree-ssa/pr96480.c b/gcc/testsuite/gcc.dg/tree-ssa/pr96480.c index cc04721c1df..fc2103dc172 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/pr96480.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/pr96480.c @@ -1,6 +1,6 @@ /* PR tree-optimization/96480 */ /* { dg-do compile } */ -/* { dg-options "-O2 -fdump-tree-optimized -fno-bit-tests" } */ +/* { dg-options "-O2 -fdump-tree-optimized -fno-bit-tests -fno-jump-tables" } */ /* { dg-final { scan-tree-dump " = _\[0-9]* <= 3;" "optimized" } } */ int v[4];