diff mbox series

[testsuite] Tweak gcc.dg/ipa/inlinehint-4.c

Message ID 4611464.mdo3hBmmJh@polaris
State New
Headers show
Series [testsuite] Tweak gcc.dg/ipa/inlinehint-4.c | expand

Commit Message

Eric Botcazou Jan. 17, 2018, 11:44 a.m. UTC
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  <ebotcazou@adacore.com>

	* gcc.dg/ipa/inlinehint-4.c: Also pass --param inline-unit-growth=20.
diff mbox series

Patch

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;