From d0bad05ab801219c0669ec0b918460624e0c224b Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Tue, 17 Apr 2001 09:26:26 +0000 Subject: DEFAULT_VTABLE_THUNKS got set back to `1' from `2' in 2.95.3. Just forget about VTABLE THUNKS and use the C++ ABI the base 2.95 G++ uses since there is no advantage the other way. --- lang/gcc295/files/patch-af | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'lang') diff --git a/lang/gcc295/files/patch-af b/lang/gcc295/files/patch-af index 533a35a95584..a0dc0c64679c 100644 --- a/lang/gcc295/files/patch-af +++ b/lang/gcc295/files/patch-af @@ -1,5 +1,17 @@ ---- gcc/config/i386/freebsd.h.orig Thu Jun 17 05:33:32 1999 -+++ gcc/config/i386/freebsd.h Sat Jul 24 17:59:06 1999 +--- gcc/config/i386/freebsd.h.orig Mon Dec 18 06:05:58 2000 ++++ gcc/config/i386/freebsd.h Tue Apr 17 02:24:05 2001 +@@ -35,9 +35,9 @@ + libraries compiled with the native cc, so undef it. */ + #undef NO_DOLLAR_IN_LABEL + +-/* Use more efficient ``thunks'' to implement C++ vtables. */ ++/* Do not use ``thunks'' to implement C++ vtables. This method still has ++ fatal bugs. */ + #undef DEFAULT_VTABLE_THUNKS +-#define DEFAULT_VTABLE_THUNKS 1 + + /* Override the default comment-starter of "/". */ + #undef ASM_COMMENT_START @@ -135,6 +135,10 @@ : ((n) >= FIRST_STACK_REG && (n) <= LAST_STACK_REG) ? (n)+3 \ : (-1)) -- cgit v1.2.3