arraynew.C: Use `std' where necessary.
authorMark Mitchell <mark@codesourcery.com>
Thu, 16 Nov 2000 04:14:37 +0000 (04:14 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Thu, 16 Nov 2000 04:14:37 +0000 (04:14 +0000)
* g++.old-deja/g++.abi/arraynew.C: Use `std' where necessary.
* g++.old-deja/g++.abi/cxa_vec.C: Likewise.
* g++.old-deja/g++.abi/ptrflags.C: Likewise.
* g++.old-deja/g++.abi/vmihint.C: Likewise.

From-SVN: r37492

gcc/testsuite/ChangeLog
gcc/testsuite/g++.old-deja/g++.abi/arraynew.C
gcc/testsuite/g++.old-deja/g++.abi/cxa_vec.C
gcc/testsuite/g++.old-deja/g++.abi/ptrflags.C
gcc/testsuite/g++.old-deja/g++.abi/vmihint.C

index 1ff1fac31e79f3925a85b048001811f656ca1cba..27fcc8bbfec7aca34561bcc049ccecd696d844d1 100644 (file)
@@ -1,3 +1,10 @@
+2000-11-15  Mark Mitchell  <mark@codesourcery.com>
+
+       * g++.old-deja/g++.abi/arraynew.C: Use `std' where necessary.
+       * g++.old-deja/g++.abi/cxa_vec.C: Likewise.
+       * g++.old-deja/g++.abi/ptrflags.C: Likewise.
+       * g++.old-deja/g++.abi/vmihint.C: Likewise.
+
 2000-11-15  Neil Booth  <neilb@earthling.net>
 
         gcc.dg/cpp/_Pragma1.c: Update.
index e62727fc79f1b4b4d9e48a9ff4d802b70422c877..3aa32c84ab2e7bc69846860a80eaf460060b9688 100644 (file)
@@ -7,7 +7,7 @@
 
 void* p;
 
-void* operator new[](size_t s) throw (bad_alloc)
+void* operator new[](size_t s) throw (std::bad_alloc)
 {
   // Record the base of the last array allocated.
   p = malloc (s);
index e551db59e1b459d85f703476bd927324c88e7b66..c08ce75e961ebe1b0712b24a93db4aed442819c7 100644 (file)
@@ -62,7 +62,7 @@ void test0 ()
   if (!started)
     {
       started = true;
-      set_terminate (test0);
+      std::set_terminate (test0);
       
       ctor_count = dtor_count = 5;
       dtor_repeat = false;
@@ -95,7 +95,7 @@ void test1 ()
   if (!started)
     {
       started = true;
-      set_terminate (test1);
+      std::set_terminate (test1);
       
       ctor_count = dtor_count = 5;
       dtor_repeat = false;
@@ -129,7 +129,7 @@ void test2 ()
   if (!started)
     {
       started = true;
-      set_terminate (test2);
+      std::set_terminate (test2);
       ctor_count = dtor_count = 5;
       dtor_repeat = false;
       blocks = 0;
@@ -163,7 +163,7 @@ void test3 ()
   if (!started)
     {
       started = true;
-      set_terminate (test3);
+      std::set_terminate (test3);
       
       ctor_count = dtor_count = 5;
       dtor_repeat = false;
@@ -201,7 +201,7 @@ void test4 ()
   if (!started)
     {
       started = true;
-      set_terminate (test4);
+      std::set_terminate (test4);
       
       ctor_count = dtor_count = 5;
       dtor_repeat = false;
index 57f05e879309a8c1f8dc58258989d97c3fd29b7f..9c645566d2ebbc05543902e368f4e6b4ea13469e 100644 (file)
@@ -12,13 +12,13 @@ struct B;
 
 using namespace abi;
 
-int expect (int flags, type_info const &info)
+int expect (int flags, std::type_info const &info)
 {
-  __pbase_type_info const *ptr =
-      dynamic_cast <__pbase_type_info const *> (&info);
+  abi::__pbase_type_info const *ptr =
+      dynamic_cast <abi::__pbase_type_info const *> (&info);
   if (!ptr)
     return 0;
-  if (ptr->qualifier_flags != flags)
+  if (ptr->__qualifier_flags != flags)
     return 0;
   return 1;
 }
index 622947433bda1c53fbab91211d0188263855585b..1160e1fe178d3e682b4b362096b4e3ee6381325c 100644 (file)
@@ -30,13 +30,13 @@ struct P2 : B, P1 {int m;};
 
 using namespace abi;
 
-int expect (int flags, type_info const &info)
+int expect (int flags, std::type_info const &info)
 {
-  __vmi_class_type_info const *ptr =
-      dynamic_cast <__vmi_class_type_info const *> (&info);
+  abi::__vmi_class_type_info const *ptr =
+      dynamic_cast <abi::__vmi_class_type_info const *> (&info);
   if (!ptr)
     return 0;
-  if (ptr->flags != flags)
+  if (ptr->__flags != flags)
     return 0;
   return 1;
 }