public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [committed] Fix more minor testsuite fallout from improved switch optimization
@ 2020-12-01 22:10 Jeff Law
  0 siblings, 0 replies; only message in thread
From: Jeff Law @ 2020-12-01 22:10 UTC (permalink / raw)
  To: GCC Patches

[-- Attachment #1: Type: text/plain, Size: 328 bytes --]


pr96480 regressed on nds32le-elf after the recent switch table
improvements.  Options for this test were tweaked as part of those
changes, but they're insufficient to keep it from regressing on
nds32le-elf.  This patch disables jump table optimization on that test
which resolves the regression.

Pushing to the trunk.

jeff

[-- Attachment #2: P --]
[-- Type: text/plain, Size: 813 bytes --]

commit cebf2847271b65159e4e687e38a3a64e148084f9
Author: Jeff Law <law@redhat.com>
Date:   Tue Dec 1 15:06:48 2020 -0700

    Fix more minor testsuite fallout from improved switch optimization
    
    gcc/testsuite
            * 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];

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-12-01 22:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-01 22:10 [committed] Fix more minor testsuite fallout from improved switch optimization Jeff Law

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).