https://gcc.gnu.org/g:7eeb28717b27d5e3786387b35859bbc5d78ed6b6
commit r16-382-g7eeb28717b27d5e3786387b35859bbc5d78ed6b6 Author: Richard Biener <rguent...@suse.de> Date: Mon May 5 09:14:13 2025 +0200 testsuite/120084 - adjust gcc.dg/lto/pr60779_0.c Require the linker plugin so functions are properly detected as unused when inlined. PR testsuite/120084 * gcc.dg/lto/pr60779_0.c: Require linker-plugin. Diff: --- gcc/testsuite/gcc.dg/lto/pr60779_0.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gcc/testsuite/gcc.dg/lto/pr60779_0.c b/gcc/testsuite/gcc.dg/lto/pr60779_0.c index 360cdc9b51f4..fdeb74c93226 100644 --- a/gcc/testsuite/gcc.dg/lto/pr60779_0.c +++ b/gcc/testsuite/gcc.dg/lto/pr60779_0.c @@ -1,4 +1,5 @@ /* { dg-lto-do link } */ +/* { dg-require-linker-plugin "" } */ /* { dg-lto-options { { -O -flto -fdump-tree-optimized } } } */ _Complex double bar (_Complex double x, _Complex double y);