OSDN Git Service

* g++.old-deja/g++.abi/arraynew.C: Use `std' where necessary.
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 16 Nov 2000 04:14:37 +0000 (04:14 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 16 Nov 2000 04:14:37 +0000 (04:14 +0000)
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37492 138bc75d-0d04-0410-961f-82ee72b054a4

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 1ff1fac..27fcc8b 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 e62727f..3aa32c8 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 e551db5..c08ce75 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 57f05e8..9c64556 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 6229474..1160e1f 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;
 }