* decl2.c (flag_vtable_thunks): Also depend on ENABLE_NEW_GXX_ABI.

From-SVN: r39142
This commit is contained in:
Jason Merrill 2001-01-19 16:07:21 -05:00 committed by Jason Merrill
parent 7193d1dc3d
commit 2a2a9e5a20
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,10 @@
2001-01-19 Jason Merrill <jason@redhat.com>
* decl2.c (flag_vtable_thunks): Also depend on ENABLE_NEW_GXX_ABI.
* decl.c (init_decl_processing): Just force -fvtable-thunks on if
-fnew-abi.
2001-01-19 Ute Pelkmann <scope.muc@t-online.de>
* decl2.c (arg_assoc_class): Fix double iteration logic.

View File

@ -204,10 +204,14 @@ int warn_ctor_dtor_privacy = 1;
/* True if we want to implement vtables using "thunks".
The default is off. */
#if ENABLE_NEW_GXX_ABI
int flag_vtable_thunks = 1;
#else
#ifndef DEFAULT_VTABLE_THUNKS
#define DEFAULT_VTABLE_THUNKS 0
#endif
int flag_vtable_thunks = DEFAULT_VTABLE_THUNKS;
#endif
/* Nonzero means generate separate instantiation control files and juggle
them at link time. */