unused1.C: Skip on AIX.

* g++.dg/other/unused1.C: Skip on AIX.
        * g++.dg/other/anon5.C: Allow Undefined to be capitalized. Ignore
        extra message on AIX.

From-SVN: r193390
This commit is contained in:
David Edelsohn 2012-11-10 14:34:42 +00:00 committed by David Edelsohn
parent 65a08b07f2
commit 35b07bb39e
3 changed files with 7 additions and 2 deletions

View file

@ -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 <ubizjak@gmail.com>

View file

@ -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.
}

View file

@ -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. */