aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Edelsohn <dje.gcc@gmail.com>2012-11-10 14:34:42 +0000
committerDavid Edelsohn <dje@gcc.gnu.org>2012-11-10 09:34:42 -0500
commit35b07bb39eb39cfd09ce77642d4072765b9da2fd (patch)
tree81d6fda91da6f24eb2085818a39e4dd302b4cf0c
parent65a08b07f2bafed09527a810c37d3a8b766646e6 (diff)
downloadgcc-35b07bb39eb39cfd09ce77642d4072765b9da2fd.zip
gcc-35b07bb39eb39cfd09ce77642d4072765b9da2fd.tar.gz
gcc-35b07bb39eb39cfd09ce77642d4072765b9da2fd.tar.bz2
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
-rw-r--r--gcc/testsuite/ChangeLog3
-rw-r--r--gcc/testsuite/g++.dg/other/anon5.C4
-rw-r--r--gcc/testsuite/g++.dg/other/unused1.C2
3 files changed, 7 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 2e0414e..85133e9 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 <ubizjak@gmail.com>
diff --git a/gcc/testsuite/g++.dg/other/anon5.C b/gcc/testsuite/g++.dg/other/anon5.C
index 12f0900..81e9def 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 2a3ca1b..b28d698 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. */