https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91955
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|tree-optimization |testsuite --- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> --- I assume this is just about the test and not the implementation of the warning -- so changing Component to testsuite. The --param early-inlining-insns option was added to the test in r276416 presumably to cope with some prior changes to the inlining parameters. The test needs to continue to verify the absence of the warning in the presence of inlining, so if tweaking the --param value in lockstep with the inliner parameters is inconvenient then perhaps the test should force the (already implicitly inline) functions to be inlined by adding attribute always_inline. Does that work for you? (The test passes for me with as well as without the --param option and with the attribute so I'm not sure how to verify the changes have the desired effect.) Please feel free to tweak the test as you see fit yourself just as long as it continues to do what it's supposed to.