unused1.C: Skip on AIX.
authorDavid Edelsohn <dje.gcc@gmail.com>
Sat, 10 Nov 2012 14:34:42 +0000 (14:34 +0000)
committerDavid Edelsohn <dje@gcc.gnu.org>
Sat, 10 Nov 2012 14:34:42 +0000 (09:34 -0500)
        * 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

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/other/anon5.C
gcc/testsuite/g++.dg/other/unused1.C

index 2e0414ee3b4bd38891570f24a75f9666db988550..85133e9aeef28a78013bd5cbd69986bd4586b374 100644 (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>
 
index 12f0900f5f7ee462cbbe78f80a9d3d7a2ccb8a78..81e9def53721404f493a14e040a3ad2c64c819a9 100644 (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.
 }
index 2a3ca1be7497a27da2d5cd07d22682c56df99a1a..b28d69874f02bc142ebb35433fbdf197261ba1a3 100644 (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.  */