diff mbox

[PATCH} AIX Testsuite cleanup

Message ID CAGWvnymnSuP=OM+ehS0ia9GBg3EQ9zcJU1SYmVeNHosa9WQSRQ@mail.gmail.com
State New
Headers show

Commit Message

David Edelsohn Nov. 10, 2012, 2:38 p.m. UTC
A few more testsuite fixes to address failures on AIX.  The only
really interesting one is g++.dg/other/anon5.C where Undefined is
capitalized in the AIX error message.

Thanks, David

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


 }
diff mbox

Patch

Index: other/anon5.C
===================================================================
--- other/anon5.C       (revision 193385)
+++ other/anon5.C       (working copy)
@@ -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 @@ 

 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.