From: Andrew Pinski Date: Wed, 23 Jul 2025 05:11:29 +0000 (-0700) Subject: testsuite: Mark fn1 in pr81627.c as noinline [PR120101] X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2fda72d1315b72e9d43b05da2f260e5c59aaad41;p=thirdparty%2Fgcc.git testsuite: Mark fn1 in pr81627.c as noinline [PR120101] Since r16-372-g064cac730f88dc fn1 is now inlined into main which meant the scan dump was failing since it was looking for it only once. Marking fn1 as noinline gets us back to the old behavior and no longer dependent on the inliner. Pushed as obvious after a quick test. PR testsuite/120101 gcc/testsuite/ChangeLog: * gcc.dg/tree-ssa/pr81627.c (fn1): Mark as noinline. Signed-off-by: Andrew Pinski --- diff --git a/gcc/testsuite/gcc.dg/tree-ssa/pr81627.c b/gcc/testsuite/gcc.dg/tree-ssa/pr81627.c index 9ba43be5052..ef35b298f40 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/pr81627.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/pr81627.c @@ -4,6 +4,7 @@ int a, b, c, d[6], e = 3, f; void abort (void); +void fn1 () __attribute__((noinline)); void fn1 () { for (b = 1; b < 5; b++)