public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH, committed] Fix AIX testsuite failures
@ 2014-11-05 14:26 David Edelsohn
  2014-11-05 14:30 ` Rainer Orth
  0 siblings, 1 reply; 2+ messages in thread
From: David Edelsohn @ 2014-11-05 14:26 UTC (permalink / raw)
  To: GCC Patches

The appended patch XFAILs or adjusts testcases to avoid spurious
warnings on AIX.

Bootstrapped on powerpc-ibm-aix7.1.0.0

Thanks, David

        * gcc.dg/torture/pr59166.c: XFAIL on AIX.
        * g++.dg/ext/visitibility/anon1.C: XFAIL on AIX.
        * g++.dg/opt/pr60002.C: XFAIL on AIX.
        * g++.dg/torture/pr63419.C: Ignore non-standard ABI warning.
        * g++.dg/ipa/ipa-icf-5.C: Require visibility support.

Index: torture/pr59166.c
===================================================================
--- torture/pr59166.c   (revision 217109)
+++ torture/pr59166.c   (working copy)
@@ -1,5 +1,6 @@
 /* PR rtl-optimization/59166 */
 /* { dg-additional-options "-fcompare-debug" } */
+/* { dg-xfail-if "" { powerpc-ibm-aix* } { "*" } { "" } } */

 int a, b, c, f, g;

Index: ext/visibility/anon1.C
===================================================================
--- ext/visibility/anon1.C      (revision 217109)
+++ ext/visibility/anon1.C      (working copy)
@@ -3,6 +3,7 @@

 // { dg-do compile }
 // { dg-final { scan-assembler-not "globl.*_ZN.*1fEv" } }
+// { dg-xfail-if "" { powerpc-ibm-aix* } { "*" } { "" } }

 namespace
 {
Index: opt/pr60002.C
===================================================================
--- opt/pr60002.C       (revision 217109)
+++ opt/pr60002.C       (working copy)
@@ -1,6 +1,7 @@
 // PR tree-optimization/60002
 // { dg-do compile }
 // { dg-options "-O2 -fcompare-debug -fdeclone-ctor-dtor -fipa-cp-clone" }
+// { dg-xfail-if "" { powerpc-ibm-aix* } { "*" } { "" } }

 struct A {};

Index: torture/pr63419.C
===================================================================
--- torture/pr63419.C   (revision 217109)
+++ torture/pr63419.C   (working copy)
@@ -1,5 +1,7 @@
 // { dg-do compile }
 // { dg-additional-options "-Wno-psabi" }
+// Ignore warning on some powerpc-linux configurations.
+// { dg-prune-output "non-standard ABI extension" }

 typedef float __m128 __attribute__ ((__vector_size__ (16)));
 const int a = 0;
Index: ipa/ipa-icf-5.C
===================================================================
--- ipa/ipa-icf-5.C     (revision 217109)
+++ ipa/ipa-icf-5.C     (working copy)
@@ -1,4 +1,5 @@
 /* { dg-do compile } */
+/* { dg-require-visibility "" } */
 /* { dg-options "-O2 -fdump-ipa-icf" } */

 struct test

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH, committed] Fix AIX testsuite failures
  2014-11-05 14:26 [PATCH, committed] Fix AIX testsuite failures David Edelsohn
@ 2014-11-05 14:30 ` Rainer Orth
  0 siblings, 0 replies; 2+ messages in thread
From: Rainer Orth @ 2014-11-05 14:30 UTC (permalink / raw)
  To: David Edelsohn; +Cc: GCC Patches

Hi David,

> The appended patch XFAILs or adjusts testcases to avoid spurious
> warnings on AIX.
>
> Bootstrapped on powerpc-ibm-aix7.1.0.0
>
> Thanks, David
>
>         * gcc.dg/torture/pr59166.c: XFAIL on AIX.
>         * g++.dg/ext/visitibility/anon1.C: XFAIL on AIX.
>         * g++.dg/opt/pr60002.C: XFAIL on AIX.
>         * g++.dg/torture/pr63419.C: Ignore non-standard ABI warning.
>         * g++.dg/ipa/ipa-icf-5.C: Require visibility support.
>
> Index: torture/pr59166.c
> ===================================================================
> --- torture/pr59166.c   (revision 217109)
> +++ torture/pr59166.c   (working copy)
> @@ -1,5 +1,6 @@
>  /* PR rtl-optimization/59166 */
>  /* { dg-additional-options "-fcompare-debug" } */
> +/* { dg-xfail-if "" { powerpc-ibm-aix* } { "*" } { "" } } */

please omit the default args to dg-xfail-if/dg-skip/if ({ "*" } { "" })
here and in several other testcases: they have been unnecessary for
quite some time.  Also, please include an explanation why you are
xfailing/skipping the test in the comment field so others can understand
what's happening and eventually add their targets to the list if
appropriate.

Thanks.
        Rainer

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-11-05 14:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-05 14:26 [PATCH, committed] Fix AIX testsuite failures David Edelsohn
2014-11-05 14:30 ` Rainer Orth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).