aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2025-05-05 09:14:13 +0200
committerRichard Biener <rguenth@gcc.gnu.org>2025-05-05 09:30:05 +0200
commit7eeb28717b27d5e3786387b35859bbc5d78ed6b6 (patch)
tree5d71d0620ef9d9ea4d6e39585418d06d36d435ca /gcc
parentfd2807173a262a954b76e3fdca605c5c8d1788a2 (diff)
downloadgcc-7eeb28717b27d5e3786387b35859bbc5d78ed6b6.zip
gcc-7eeb28717b27d5e3786387b35859bbc5d78ed6b6.tar.gz
gcc-7eeb28717b27d5e3786387b35859bbc5d78ed6b6.tar.bz2
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.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/gcc.dg/lto/pr60779_0.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/lto/pr60779_0.c b/gcc/testsuite/gcc.dg/lto/pr60779_0.c
index 360cdc9..fdeb74c 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);