From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 986 invoked by alias); 6 Jun 2009 23:27:55 -0000 Received: (qmail 963 invoked by uid 48); 6 Jun 2009 23:27:44 -0000 Date: Sat, 06 Jun 2009 23:27:00 -0000 Message-ID: <20090606232744.962.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug testsuite/39831] gcc.target/i386/excess-precision-*.c assume the default -mfp-math does not include SSE In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "fxcoudert at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2009-06/txt/msg00358.txt.bz2 ------- Comment #3 from fxcoudert at gcc dot gnu dot org 2009-06-06 23:27 ------- I can confirm that at least the three tests that are run (1 to 3) PASS on darwin with the following patch: Index: gcc/testsuite/gcc.target/i386/excess-precision-1.c =================================================================== --- gcc/testsuite/gcc.target/i386/excess-precision-1.c (revision 148236) +++ gcc/testsuite/gcc.target/i386/excess-precision-1.c (working copy) @@ -2,7 +2,7 @@ through various operations. */ /* { dg-do run } */ /* { dg-require-effective-target ilp32 } */ -/* { dg-options "-O2 -fexcess-precision=standard" } */ +/* { dg-options "-O2 -mfpmath=387 -fexcess-precision=standard" } */ #include Index: gcc/testsuite/gcc.target/i386/excess-precision-3.c =================================================================== --- gcc/testsuite/gcc.target/i386/excess-precision-3.c (revision 148236) +++ gcc/testsuite/gcc.target/i386/excess-precision-3.c (working copy) @@ -2,7 +2,7 @@ necessary. */ /* { dg-do run } */ /* { dg-require-effective-target ilp32 } */ -/* { dg-options "-O2 -fexcess-precision=standard" } */ +/* { dg-options "-O2 -mfpmath=387 -fexcess-precision=standard" } */ #include #include Index: gcc/testsuite/gcc.target/i386/excess-precision-2.c =================================================================== --- gcc/testsuite/gcc.target/i386/excess-precision-2.c (revision 148236) +++ gcc/testsuite/gcc.target/i386/excess-precision-2.c (working copy) @@ -1,7 +1,7 @@ /* Excess precision tests. Test excess precision of constants. */ /* { dg-do run } */ /* { dg-require-effective-target ilp32 } */ -/* { dg-options "-O2 -fexcess-precision=standard" } */ +/* { dg-options "-O2 -mfpmath=387 -fexcess-precision=standard" } */ #include -- fxcoudert at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fxcoudert at gcc dot gnu dot | |org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39831