[OBVIOUS] Fix a test-case in PR middle-end/90340.

Message ID b624607c-7282-00ce-46c5-ccbd85e89417@suse.cz
State New
Headers show
Series
  • [OBVIOUS] Fix a test-case in PR middle-end/90340.
Related show

Commit Message

Martin Liška May 14, 2019, 9:59 a.m.
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(-)

Patch

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;