https://gcc.gnu.org/g:f80d7cf40f986bc6983008cd2fb24853a3b87ab1
commit r11-11391-gf80d7cf40f986bc6983008cd2fb24853a3b87ab1 Author: Francois-Xavier Coudert <fxcoud...@gmail.com> Date: Sun Aug 20 14:13:22 2023 +0200 Testsuite: mark IPA test as requiring alias support This was indicated in https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85656 but never committed. Without it, the test fails on darwin. gcc/testsuite/ChangeLog: * gcc.dg/ipa/ipa-icf-38.c: Require alias support. (cherry picked from commit 02393e4b5eabe1c64720b022cb6f819e7b4dc08b) Diff: --- gcc/testsuite/gcc.dg/ipa/ipa-icf-38.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gcc/testsuite/gcc.dg/ipa/ipa-icf-38.c b/gcc/testsuite/gcc.dg/ipa/ipa-icf-38.c index 452e1b88514..57c5262dd4a 100644 --- a/gcc/testsuite/gcc.dg/ipa/ipa-icf-38.c +++ b/gcc/testsuite/gcc.dg/ipa/ipa-icf-38.c @@ -1,4 +1,5 @@ /* { dg-do link } */ +/* { dg-require-alias "" } */ /* { dg-options "-O2 -fdump-ipa-icf-optimized -flto -fdump-tree-optimized" } */ /* { dg-require-effective-target lto } */ /* { dg-additional-sources "ipa-icf-38a.c" }*/