From: Richard Biener Date: Mon, 5 May 2025 07:14:13 +0000 (+0200) Subject: testsuite/120084 - adjust gcc.dg/lto/pr60779_0.c X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7eeb28717b27d5e3786387b35859bbc5d78ed6b6;p=thirdparty%2Fgcc.git 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 --git a/gcc/testsuite/gcc.dg/lto/pr60779_0.c b/gcc/testsuite/gcc.dg/lto/pr60779_0.c index 360cdc9b51f..fdeb74c9322 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);