From a05c309c67d515619f68423d67debbf61f61a31f Mon Sep 17 00:00:00 2001 From: dje Date: Sat, 10 Nov 2012 14:34:42 +0000 Subject: [PATCH] * g++.dg/other/unused1.C: Skip on AIX. * g++.dg/other/anon5.C: Allow Undefined to be capitalized. Ignore extra message on AIX. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193390 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/testsuite/ChangeLog | 3 +++ gcc/testsuite/g++.dg/other/anon5.C | 4 +++- gcc/testsuite/g++.dg/other/unused1.C | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 2e0414ee3b4..85133e9aeef 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -3,6 +3,9 @@ * c-c++-common/scal-to-vec2.c: Ignore non-standard ABI message. * c-c++-common/vector-compare-1.c: Same. * c-c++-common/vector-compare-2.c: Same. + * g++.dg/other/unused1.C: Skip on AIX. + * g++.dg/other/anon5.C: Allow Undefined to be capitalized. Ignore + extra message on AIX. 2012-11-10 Uros Bizjak diff --git a/gcc/testsuite/g++.dg/other/anon5.C b/gcc/testsuite/g++.dg/other/anon5.C index 12f0900f5f7..81e9def5372 100644 --- a/gcc/testsuite/g++.dg/other/anon5.C +++ b/gcc/testsuite/g++.dg/other/anon5.C @@ -1,6 +1,8 @@ // PR c++/34094 // { dg-do link { target { ! { *-*-darwin* *-*-hpux* *-*-solaris2.* } } } } // { dg-options "-g" } +// Ignore additional message on powerpc-ibm-aix +// { dg-prune-output "obtain more information" } */ namespace { struct c @@ -11,7 +13,7 @@ namespace { const bool &f() { - return c::t; // { dg-message "undefined" "undefined" { target *-*-* } 0 } + return c::t; // { dg-message "\[Uu\]ndefined" "undefined" { target *-*-* } 0 } // Some targets report the error for the previous line, others // don't give line number inforamtion for it, so use line 0. } diff --git a/gcc/testsuite/g++.dg/other/unused1.C b/gcc/testsuite/g++.dg/other/unused1.C index 2a3ca1be749..b28d69874f0 100644 --- a/gcc/testsuite/g++.dg/other/unused1.C +++ b/gcc/testsuite/g++.dg/other/unused1.C @@ -1,6 +1,6 @@ /* { dg-do compile } */ /* { dg-options "-g" } */ -/* { dg-skip-if "" { { hppa*-*-hpux* *-*-solaris2.[56]* } && { ! hppa*64*-*-* } } { "*" } { "" } } */ +/* { dg-skip-if "" { { hppa*-*-hpux* *-*-solaris2.[56]* powerpc-ibm-aix* } && { ! hppa*64*-*-* } } { "*" } { "" } } */ /* Make sure we didn't eliminate casted types because we thought they were unused. */ -- 2.11.4.GIT