This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [testsuite] Fix gcc.dg/ipa/ipa-icf-2[18].c on Solaris

Jakub Jelinek <> 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


2014-10-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	* gcc.dg/ipa/ipa-icf-21.c: Add -msse2 to dg-options.

diff --git a/gcc/testsuite/gcc.dg/ipa/ipa-icf-21.c b/gcc/testsuite/gcc.dg/ipa/ipa-icf-21.c
--- a/gcc/testsuite/gcc.dg/ipa/ipa-icf-21.c
+++ b/gcc/testsuite/gcc.dg/ipa/ipa-icf-21.c
@@ -1,5 +1,5 @@
 /* { dg-do compile { target i?86-*-* x86_64-*-* } } */
-/* { dg-options "-O2 -fdump-ipa-icf"  } */
+/* { dg-options "-O2 -msse2 -fdump-ipa-icf"  } */
 #include <xmmintrin.h>
Rainer Orth, Center for Biotechnology, Bielefeld University

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]