diff mbox

[libgomp,testsuite] Enable libgomp.c/pr48591.c on __float128 targets

Message ID yddfujfa05b.fsf@CeBiTec.Uni-Bielefeld.DE
State New
Headers show

Commit Message

Rainer Orth Feb. 15, 2017, 4:28 p.m. UTC
When comparing x86_64-pc-linux-gnu and i386-pc-solaris2.12 testsuite
results for PR rtl-optimization/79532, I noticed that
libgomp.c/pr48591.c wasn't run on Solaris/x86.  The testcase contains a
seemingly random list of targets to run on, but ISTM that it should
really check for __float128 support instead.  This is what the following
patch does.  Tested with the appropriate runtest invocations on
i386-pc-solaris2.12 and x86_64-pc-linux-gnu (and currently showing the
32-bit ICEs on both).

Ok for mainline?

	Rainer

Comments

Jakub Jelinek Feb. 15, 2017, 4:32 p.m. UTC | #1
On Wed, Feb 15, 2017 at 05:28:48PM +0100, Rainer Orth wrote:
> When comparing x86_64-pc-linux-gnu and i386-pc-solaris2.12 testsuite
> results for PR rtl-optimization/79532, I noticed that
> libgomp.c/pr48591.c wasn't run on Solaris/x86.  The testcase contains a
> seemingly random list of targets to run on, but ISTM that it should
> really check for __float128 support instead.  This is what the following
> patch does.  Tested with the appropriate runtest invocations on
> i386-pc-solaris2.12 and x86_64-pc-linux-gnu (and currently showing the
> 32-bit ICEs on both).
> 
> Ok for mainline?
> 
> 	Rainer
> 
> -- 
> -----------------------------------------------------------------------------
> Rainer Orth, Center for Biotechnology, Bielefeld University
> 
> 
> 2017-02-15  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
> 
> 	* testsuite/libgomp.c/pr48591.c: Enable on all __float128
> 	targets.
> 	Add __float128 options.

Ok, thanks.

	Jakub
diff mbox

Patch

# HG changeset patch
# Parent  dc8478f495c9b58e11289f1702244226513af059
Enable libgomp.c/pr48591.c on __float128 targets

diff --git a/libgomp/testsuite/libgomp.c/pr48591.c b/libgomp/testsuite/libgomp.c/pr48591.c
--- a/libgomp/testsuite/libgomp.c/pr48591.c
+++ b/libgomp/testsuite/libgomp.c/pr48591.c
@@ -1,6 +1,7 @@ 
 /* PR middle-end/48591 */
-/* { dg-do run { target i?86-*-linux* i?86-*-gnu* x86_64-*-linux* ia64-*-linux* x86_64-*-freebsd* } } */
+/* { dg-do run { target __float128 } } */
 /* { dg-options "-O0" } */
+/* { dg-add-options __float128 } */
 
 extern void abort (void);