Rainer Orth <r...@cebitec.uni-bielefeld.de> writes: > Two of the new gcc.dg/ipa/ipa-icf-*.c tests were FAILing on Solaris: > > 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" > FAIL: gcc.dg/ipa/ipa-icf-28.c (test for excess errors) > UNRESOLVED: gcc.dg/ipa/ipa-icf-28.c scan-ipa-dump icf "Equal symbols: 0" > UNRESOLVED: gcc.dg/ipa/ipa-icf-28.c scan-ipa-dump icf "attribute values are > different" > > The former requires <xmmintrin.h> which is x86-only, thus cannot work > anywhere else. The other uses constructor priorities, but doesn't > declare this dependency. > > The following patch fixes both, so far tested with the appropriate > runtest invocation on sparc-sun-solaris2.11; will commit to mainline > once they've also been included in a current x86_64-unknown-linux-gnu > bootstrap.
I've now installed the patch to remove the obvious testsuite failures, but it turned out that the ipa-icf-21.c testcase has further issues on i686-unknown-linux-gnu: FAIL: gcc.dg/ipa/ipa-icf-21.c (test for excess errors) Excess errors: /vol/gcc/src/hg/trunk/local/gcc/testsuite/gcc.dg/ipa/ipa-icf-21.c:10:10: warning: SSE vector return without SSE enabled changes the ABI [-Wpsabi] /var/gcc/regression/trunk/3.14.17-gcc-gas-gld-32/build/gcc/include/xmmintrin.h:909:1: error: inlining failed in call to always_inline '_mm_load1_ps': target specific option mismatch /vol/gcc/src/hg/trunk/local/gcc/testsuite/gcc.dg/ipa/ipa-icf-21.c:10:10: error: called from here The former can be cured by adding -Wno-psabi to dg-options, but I've no idea what to do about the latter, especially since it doesn't occur on i386-pc-solaris2.11. Rainer -- ----------------------------------------------------------------------------- Rainer Orth, Center for Biotechnology, Bielefeld University