re PR c++/37761 (Revision 140916 caused libstdc++ failures)
authorJason Merrill <jason@redhat.com>
Tue, 7 Oct 2008 17:35:35 +0000 (13:35 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 7 Oct 2008 17:35:35 +0000 (13:35 -0400)
        PR libstdc++/37761
        * testsuite/abi/demangle/abi_examples/20.cc: Adjust expected spacing.
        * testsuite/abi/demangle/abi_text/02.cc: Likewise.
        * testsuite/abi/demangle/regression/cw-16.cc: Likewise.

From-SVN: r140943

libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/abi/demangle/abi_examples/20.cc
libstdc++-v3/testsuite/abi/demangle/abi_text/02.cc
libstdc++-v3/testsuite/abi/demangle/regression/cw-16.cc

index 90c48823c9339e6e3bc4ace1665053ee415a7408..3b2762620f7e4aec22b40c3dab78723df1907d6a 100644 (file)
@@ -1,3 +1,10 @@
+2008-10-07  Jason Merrill  <jason@redhat.com>
+
+       PR libstdc++/37761
+       * testsuite/abi/demangle/abi_examples/20.cc: Adjust expected spacing.
+       * testsuite/abi/demangle/abi_text/02.cc: Likewise.
+       * testsuite/abi/demangle/regression/cw-16.cc: Likewise.
+
 2008-10-07  Paolo Carlini  <paolo.carlini@oracle.com>
 
        * include/bits/stl_iterator.h (operator-(const reverse_iterator<>&,
index eaa5db0430fd2b1af24cf0be3db26a1b5397bbee..1bef745b19732954bc615d9cb768752cb8adf37f 100644 (file)
@@ -29,7 +29,7 @@ int main()
   using namespace __gnu_test;
 
   verify_demangle("_ZngILi42EEvN1AIXplT_Li2EEE1TE", 
-       "void operator-<42>(A<(42) + (2)>::T)");
+       "void operator-<42>(A<(42)+(2)>::T)");
 
   return 0;
 }
index 28a617aef7ddde8c775cba95c5c24f7fc57c2244..9a41fe55c207fb888759755d0f8c37038cb8a23a 100644 (file)
@@ -33,7 +33,7 @@ int main()
   // Equivalent, but formatting difference in void argument and parentheses.
   // icc, __cxa_demangle
   verify_demangle("_Z3fooILi2EEvRAplT_Li1E_i", 
-                 "void foo<2>(int (&) [(2) + (1)])");
+                 "void foo<2>(int (&) [(2)+(1)])");
   // cplus-dem
   // verify_demangle("_Z3fooILi2EEvRAplT_Li1E_i", 
   //      "void foo<(int)2>(int (&) [((int)2)+((int)1)])");
index 0c8c29f28af06a7571b1694cb835cd6aa444a1a5..0db740e991a9a35c89f40a9266548dd294c8dc51 100644 (file)
@@ -32,9 +32,9 @@ verify_demangle("_Z3fooIA6_KiEvA9_KT_rVPrS4_",
                "void foo<int const [6]>(int const [9][6], int restrict const (* volatile restrict) [9][6])");
 // 2003/11/12, libstdc++/12947
 verify_demangle("_Z1fILi5E1AEvN1CIXqugtT_Li0ELi1ELi2EEE1qE",
-                "void f<5, A>(C<(((5) > (0))) ? (1) : (2)>::q)");
+                "void f<5, A>(C<(((5)>(0)))?(1) : (2)>::q)");
 verify_demangle("_Z1fILi5EEvN1AIXcvimlT_Li22EEE1qE",
-                "void f<5>(A<(int)((5) * (22))>::q)");
+                "void f<5>(A<(int)((5)*(22))>::q)");
 verify_demangle("_Z1fPFYPFiiEiE",
                 "f(int (*(*)(int))(int))");
 verify_demangle("_Z1fI1XENT_1tES2_",
@@ -43,9 +43,9 @@ verify_demangle("_Z1fILi5E1AEvN1CIXstN1T1tEEXszsrS2_1tEE1qE",
                 "void f<5, A>(C<sizeof (T::t), sizeof (T::t)>::q)");
 // 2003/12/03, libstdc++/13045
 verify_demangle("_Z1fILi1ELc120EEv1AIXplT_cviLd4028ae147ae147aeEEE",
-                "void f<1, (char)120>(A<(1) + ((int)((double)[4028ae147ae147ae]))>)");
+                "void f<1, (char)120>(A<(1)+((int)((double)[4028ae147ae147ae]))>)");
 verify_demangle("_Z1fILi1ELc120EEv1AIXplT_cviLf3f800000EEE",
-                "void f<1, (char)120>(A<(1) + ((int)((float)[3f800000]))>)");
+                "void f<1, (char)120>(A<(1)+((int)((float)[3f800000]))>)");
 verify_demangle("_Z9hairyfuncM1YKFPVPFrPA2_PM1XKFKPA3_ilEPcEiE",
                 "hairyfunc(int (* const (X::** (* restrict (* volatile* (Y::*)(int) const)(char*)) [2])(long) const) [3])");