* g++.old-deja/g++.abi/ptrmem.C: Mips puts vbit in delta too.

From-SVN: r51193
This commit is contained in:
Alexandre Oliva 2002-03-22 22:03:39 +00:00 committed by Alexandre Oliva
parent 9181f8db39
commit 44d57e3602
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2002-03-22 Alexandre Oliva <aoliva@redhat.com>
* g++.old-deja/g++.abi/ptrmem.C: Mips puts vbit in delta too.
2002-03-22 Phil Edwards <pme@gcc.gnu.org> 2002-03-22 Phil Edwards <pme@gcc.gnu.org>
* gcc.dg/cpp/extratokens2.c: New file. * gcc.dg/cpp/extratokens2.c: New file.

View File

@ -6,7 +6,7 @@
function. However, some platforms use all bits to encode a function. However, some platforms use all bits to encode a
function pointer. Such platforms use the lowest bit of the delta, function pointer. Such platforms use the lowest bit of the delta,
that is shifted left by one bit. */ that is shifted left by one bit. */
#if defined __MN10300__ || defined __SH5__ || defined __arm__ || defined __thumb__ #if defined __MN10300__ || defined __SH5__ || defined __arm__ || defined __thumb__ || defined __mips__
#define ADJUST_PTRFN(func, virt) ((void (*)())(func)) #define ADJUST_PTRFN(func, virt) ((void (*)())(func))
#define ADJUST_DELTA(delta, virt) (((delta) << 1) + !!(virt)) #define ADJUST_DELTA(delta, virt) (((delta) << 1) + !!(virt))
#else #else