This adds --param inline-unit-growth=20 to the set of options passed to the
testcase, which is the default setting but makes it possible for the test to
pass on targets which changes the default, like Visium.
Tested on visium-elf & x86_64-suse-linux, applied on the mainline as obvious.
2018-01-17 Eric Botcazou <ebotca...@adacore.com>
* gcc.dg/ipa/inlinehint-4.c: Also pass --param inline-unit-growth=20.
--
Eric Botcazou
Index: gcc.dg/ipa/inlinehint-4.c
===================================================================
--- gcc.dg/ipa/inlinehint-4.c (revision 256776)
+++ gcc.dg/ipa/inlinehint-4.c (working copy)
@@ -1,4 +1,4 @@
-/* { dg-options "-O3 -fdump-ipa-inline-details -fno-early-inlining --param large-unit-insns=1 -fno-partial-inlining" } */
+/* { dg-options "-O3 -fdump-ipa-inline-details -fno-early-inlining -fno-partial-inlining --param large-unit-insns=1 --param inline-unit-growth=20" } */
/* { dg-add-options bind_pic_locally } */
int *hashval;
int *hash;