]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite/120084 - adjust gcc.dg/lto/pr60779_0.c
authorRichard Biener <rguenther@suse.de>
Mon, 5 May 2025 07:14:13 +0000 (09:14 +0200)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 5 May 2025 07:30:05 +0000 (09:30 +0200)
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.

gcc/testsuite/gcc.dg/lto/pr60779_0.c

index 360cdc9b51f4152ef022774b9a1c2cb7eb4b07b6..fdeb74c93226a26927d6cfb523678cd35418e239 100644 (file)
@@ -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);