public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-8139] testsuite: Increase auto-inlining param in gcc.dg/ipa/remref-7.c (PR 105183)
@ 2022-04-13 13:10 Martin Jambor
0 siblings, 0 replies; only message in thread
From: Martin Jambor @ 2022-04-13 13:10 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:dd61ee6fde5fcf1d503b679bb9b5e0a0ba7a515d
commit r12-8139-gdd61ee6fde5fcf1d503b679bb9b5e0a0ba7a515d
Author: Martin Jambor <mjambor@suse.cz>
Date: Wed Apr 13 15:08:59 2022 +0200
testsuite: Increase auto-inlining param in gcc.dg/ipa/remref-7.c (PR 105183)
A scan dump of testsuite gcc.dg/ipa/remref-7.c fails on a number of
platforms. I investigated only i?86-*-* with -mno-sse but assume the
issue is the same on all of the affected platform.
Because function bar is not inlined there even though it is only
called once, the process that is being tested is simply not triggered.
This can be "fixed" by increasing parameter max-inline-insns-auto to
something high, I randomly picked 100.
I have only manually tested the change but hopefully that is enough.
gcc/testsuite/ChangeLog:
2022-04-08 Martin Jambor <mjambor@suse.cz>
PR testsuite/105183
* gcc.dg/ipa/remref-7.c: Add --param max-inline-insns-auto=100 to options.
Diff:
---
gcc/testsuite/gcc.dg/ipa/remref-7.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/testsuite/gcc.dg/ipa/remref-7.c b/gcc/testsuite/gcc.dg/ipa/remref-7.c
index b2c26ab7fd5..152b9d0ca94 100644
--- a/gcc/testsuite/gcc.dg/ipa/remref-7.c
+++ b/gcc/testsuite/gcc.dg/ipa/remref-7.c
@@ -1,5 +1,5 @@
/* { dg-do compile } */
-/* { dg-options "-O2 -fno-early-inlining -fno-ipa-sra -fdump-ipa-inline" } */
+/* { dg-options "-O2 -fno-early-inlining -fno-ipa-sra -fdump-ipa-inline --param max-inline-insns-auto=100" } */
int rglobal = 0;
int g;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-04-13 13:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-13 13:10 [gcc r12-8139] testsuite: Increase auto-inlining param in gcc.dg/ipa/remref-7.c (PR 105183) Martin Jambor
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).