This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[C++ PATCH]: Adjust newabi testcase


Hi,
committed the attached which uses the new __pbase_type_info
base class, rather than the __pointer_type_info which is 
no longer a common base.

nathan
-- 
Dr Nathan Sidwell   ::   http://www.codesourcery.com   ::   CodeSourcery LLC
         'But that's a lie.' - 'Yes it is. What's your point?'
nathan@codesourcery.com : http://www.cs.bris.ac.uk/~nathan/ : nathan@acm.org
2000-05-25  Nathan Sidwell  <nathan@codesourcery.com>

	* g++.old-deja/g++.abi/ptrflags.C: Use __pbase_type_info.

Index: testsuite/g++.old-deja/g++.abi/ptrflags.C
===================================================================
RCS file: /cvs/gcc/egcs/gcc/testsuite/g++.old-deja/g++.abi/ptrflags.C,v
retrieving revision 1.2
diff -c -3 -p -r1.2 ptrflags.C
*** ptrflags.C	2000/05/06 15:53:16	1.2
--- ptrflags.C	2000/05/25 16:49:11
*************** using namespace abi;
*** 14,21 ****
  
  int expect (int flags, type_info const &info)
  {
!   __pointer_type_info const *ptr =
!       dynamic_cast <__pointer_type_info const *> (&info);
    if (!ptr)
      return 0;
    if (ptr->quals != flags)
--- 14,21 ----
  
  int expect (int flags, type_info const &info)
  {
!   __pbase_type_info const *ptr =
!       dynamic_cast <__pbase_type_info const *> (&info);
    if (!ptr)
      return 0;
    if (ptr->quals != flags)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]