From: Uros Bizjak Date: Wed, 19 Feb 2020 19:39:02 +0000 (+0100) Subject: testsuite: Add -msse2 to fix ia32 tests. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=58f2e59ad36ca05444cb0a57ad1f13cc58e52755;p=gcc.git testsuite: Add -msse2 to fix ia32 tests. * gcc.dg/gimplefe-41.c: Add -msse2 additional options for x86 targets. * gcc.dg/ipa/ipa-sra-19.c: Ditto. --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 2d88138cbb6..ec3c34a2a30 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2020-02-19 Uroš Bizjak + + * gcc.dg/gimplefe-41.c: Add -msse2 additional options for x86 targets. + * gcc.dg/ipa/ipa-sra-19.c: Ditto. + 2020-02-19 Richard Sandiford PR tree-optimization/93767 diff --git a/gcc/testsuite/gcc.dg/gimplefe-41.c b/gcc/testsuite/gcc.dg/gimplefe-41.c index c3e2f0ecef8..e52a3a559a9 100644 --- a/gcc/testsuite/gcc.dg/gimplefe-41.c +++ b/gcc/testsuite/gcc.dg/gimplefe-41.c @@ -1,5 +1,6 @@ /* { dg-do compile { target { vect_double && vect_long_long } } } */ /* { dg-options "-fgimple -Wno-psabi -w" } */ +/* { dg-additional-options "-msse2" { target x86_64-*-* i?86-*-* } } */ typedef double __v2df __attribute__ ((__vector_size__ (16))); typedef unsigned long long __v2di __attribute__ ((__vector_size__ (16))); diff --git a/gcc/testsuite/gcc.dg/ipa/ipa-sra-19.c b/gcc/testsuite/gcc.dg/ipa/ipa-sra-19.c index 6186d891a29..681a303523a 100644 --- a/gcc/testsuite/gcc.dg/ipa/ipa-sra-19.c +++ b/gcc/testsuite/gcc.dg/ipa/ipa-sra-19.c @@ -1,5 +1,6 @@ /* { dg-do compile } */ /* { dg-options "-O2" } */ +/* { dg-additional-options "-msse2" { target ia32 } } */ typedef int __attribute__((__vector_size__(16))) vectype;