diff options
author | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | 2024-05-15 13:23:08 +0200 |
---|---|---|
committer | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | 2024-05-15 13:23:08 +0200 |
commit | ff105c39bde43bdb57615e3a4c7af71fbef5f26e (patch) | |
tree | 2a331c80b413cd834aeaa32c58e8db8511b0d538 /gcc/alias.cc | |
parent | 23ef0f68ad5fca1fd7027caaaa5f6cb9f6d27b28 (diff) | |
download | gcc-ff105c39bde43bdb57615e3a4c7af71fbef5f26e.zip gcc-ff105c39bde43bdb57615e3a4c7af71fbef5f26e.tar.gz gcc-ff105c39bde43bdb57615e3a4c7af71fbef5f26e.tar.bz2 |
testsuite: Require lto-plugin in gcc.dg/ipa/ipa-icf-38.c [PR85656]
gcc.dg/ipa/ipa-icf-38.c currently FAILs on Solaris (SPARC and x86, 32
and 64-bit):
FAIL: gcc.dg/ipa/ipa-icf-38.c scan-ltrans-tree-dump-not optimized "Function bar"
As it turns out, this only happens when the Solaris linker is used; with
GNU ld the test PASSes just fine. In fact, that happens because gld
supports the lto-plugin while ld does not: in a Solaris build with gld,
the test FAILs the same way as with ld when -fno-use-linker-plugin is
passed, so this patch requires linker_plugin.
Tested on i386-pc-solaris2.11 (ld and gld) and x86_64-pc-linux-gnu.
2024-05-15 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
gcc/testsuite:
PR ipa/85656
* gcc.dg/ipa/ipa-icf-38.c: Require linker_plugin.
Diffstat (limited to 'gcc/alias.cc')
0 files changed, 0 insertions, 0 deletions