On Thu, Oct 23, 2014 at 11:35:44AM +0200, Rainer Orth wrote: > > The testcase is clearly i?86/x86_64 specific, so it must be guarded with > > { target i?86-*-* x86_64-*-* }, and as it is a compile time test, no need > > Right, that's what my patch already does. > > > for assembler support, so just adding -msse2 option to dg-option is the > > right thing to do. > > Ok, will try that. Still no idea why Linux/x86 and Solaris/x86 are > different here.
Why do you think so? I certainly have: FAIL: gcc.dg/ipa/ipa-icf-21.c (test for excess errors) UNRESOLVED: gcc.dg/ipa/ipa-icf-21.c scan-ipa-dump icf "Equal symbols: 1" UNRESOLVED: gcc.dg/ipa/ipa-icf-21.c scan-ipa-dump icf "Semantic equality hit:bar->foo" in my i686-linux test_summary log. It really depends on how the compiler is configured, if it defaults to march that has sse/sse2 by default, it will succeed, otherwise it will not. Jakub