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  <r...@cebitec.uni-bielefeld.de>

        * testsuite/libgomp.c/pr48591.c: Enable on all __float128
        targets.
        Add __float128 options.

# 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);
 

Reply via email to