https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93493
--- Comment #5 from Martin Liška <marxin at gcc dot gnu.org> --- Ok, you should use -o a.out (or -o libxyz.so), and so that you'll see something like: $ gcc -flto ../test.c -fdump-ipa-icf -o a.out $ ls $ a.out a.out.wpa.070i.icf