https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85106
--- Comment #1 from Tom de Vries <vries at gcc dot gnu.org> --- Created attachment 43782 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43782&action=edit Tentative patch that adds scan-wpa-ipa-dump Test results look like this (note the scan-wpa-ipa-dump): ... Test Run By vries on Wed Mar 28 11:02:22 2018 Native configuration is x86_64-pc-linux-gnu === gcc tests === Schedule of variations: unix Running target unix Running gcc/testsuite/gcc.dg/ipa/ipa.exp ... PASS: gcc.dg/ipa/ipa-icf-38.c (test for excess errors) PASS: gcc.dg/ipa/ipa-icf-38.c scan-wpa-ipa-dump icf "Semantic equality hit:foo->bar" PASS: gcc.dg/ipa/ipa-icf-38.c scan-wpa-ipa-dump icf "Equal symbols: 1" === gcc Summary === # of expected passes 3 build/gcc/xgcc version 8.0.1 20180321 (experimental) (GCC) ...