From patchwork Tue Oct 9 13:21:00 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [testsuite] Fix gcc.target/i386/long-double-80-7.c (PR target/54866) From: Rainer Orth X-Patchwork-Id: 190300 Message-Id: To: gcc-patches@gcc.gnu.org Cc: Uros Bizjak Date: Tue, 09 Oct 2012 15:21:00 +0200 As described in the PR, gcc.target/i386/long-double-80-7.c FAILs on Solaris 9/x86 and 32-bit Linux/x86. The following patch fixes this. Tested with the appropriate runtest invocation on i386-pc-solaris2.9, i386-pc-solaris2.10, i686-unknown-linux-gnu and x86_64-unknown-linux-gnu, installed on mainline as preapproved by Uros in the PR. Rainer 2012-10-09 Rainer Orth PR target/54866 * gcc.target/i386/long-double-80-7.c: Add -msse2 to dg-options. # HG changeset patch # Parent 63ba1e90f1c71c5d7dff8f4f4f43f3fe4e54e84b Fix gcc.target/i386/long-double-80-7.c (PR target/54866) diff --git a/gcc/testsuite/gcc.target/i386/long-double-80-7.c b/gcc/testsuite/gcc.target/i386/long-double-80-7.c --- a/gcc/testsuite/gcc.target/i386/long-double-80-7.c +++ b/gcc/testsuite/gcc.target/i386/long-double-80-7.c @@ -1,5 +1,5 @@ /* { dg-do run } */ -/* { dg-options "-O0 -mlong-double-64 -mfpmath=sse" } */ +/* { dg-options "-O0 -mlong-double-64 -mfpmath=sse -msse2" } */ /* { dg-require-effective-target sse2 } */ #include "sse2-check.h"