On Wed, Jan 31, 2018 at 09:51:31AM +0100, Christophe Lyon wrote: > Even with Rainer's fix, I've noticed that the new test fails on arm/aarch64: > FAIL: g++.dg/torture/pr81360.C -O2 -flto -fuse-linker-plugin > -fno-fat-lto-objects scan-ipa-dump icf "Equal symbols: 0"
With -flto -fno-fat-lto-objects I believe we just write the bytecode before IPA passes and stop, so dg-do compile test won't really do icf at compile time, but at link time. The more reason to move the test to g++.dg/ipa/ ... Jakub