public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH][OBVIOUS] Fix a test-case in PR middle-end/90340.
@ 2019-05-14  9:59 Martin Liška
  0 siblings, 0 replies; only message in thread
From: Martin Liška @ 2019-05-14  9:59 UTC (permalink / raw)
  To: gcc-patches; +Cc: Christophe Lyon

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

Hi.

It's a small tweak to a test-case. I've tested that on x86_64-linux-gnu
and aarch64-linux-gnu.

I'm going to install the patch.
Martin

gcc/testsuite/ChangeLog:

2019-05-14  marxin  <mliska@suse.cz>

	PR middle-end/90340
	* gcc.dg/tree-ssa/pr90340-2.c: Add case-values-threshold
	param.
---
 gcc/testsuite/gcc.dg/tree-ssa/pr90340-2.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)



[-- Attachment #2: 0001-Fix-a-test-case-in-PR-middle-end-90340.patch --]
[-- Type: text/x-patch, Size: 596 bytes --]

diff --git a/gcc/testsuite/gcc.dg/tree-ssa/pr90340-2.c b/gcc/testsuite/gcc.dg/tree-ssa/pr90340-2.c
index 21099821786..a3cb0cd069c 100644
--- a/gcc/testsuite/gcc.dg/tree-ssa/pr90340-2.c
+++ b/gcc/testsuite/gcc.dg/tree-ssa/pr90340-2.c
@@ -1,5 +1,5 @@
 /* { dg-do compile { target { { x86_64-*-* aarch64-*-* ia64-*-* powerpc64-*-* } && lp64 } } } */
-/* { dg-options "-Os --param jump-table-max-growth-ratio-for-size=200 -fdump-tree-switchlower1" } */
+/* { dg-options "-Os --param jump-table-max-growth-ratio-for-size=200 --param case-values-threshold=5 -fdump-tree-switchlower1" } */
 
 int a;
 


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

only message in thread, other threads:[~2019-05-14  9:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-14  9:59 [PATCH][OBVIOUS] Fix a test-case in PR middle-end/90340 Martin Liška

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).