[testsuite] Fix gcc.dg/ipa/ipa-icf-2[18].c on Solaris
Rainer Orth
ro@CeBiTec.Uni-Bielefeld.DE
Thu Oct 23 11:36:00 GMT 2014
Jakub Jelinek <jakub@redhat.com> writes:
>> 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.
>
> 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
> for assembler support, so just adding -msse2 option to dg-option is the
> right thing to do.
Here's what I've committed after testing on x86_64-unknown-linux-gnu,
i686-unknown-linux-gnu, and i386-pc-solaris2.11 (both multilibs in each
case).
Rainer
2014-10-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* gcc.dg/ipa/ipa-icf-21.c: Add -msse2 to dg-options.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: i21.patch
Type: text/x-patch
Size: 374 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20141023/d364a6e5/attachment.bin>
-------------- next part --------------
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University
More information about the Gcc-patches
mailing list