From 2a2a9e5a20c8a516fb89b70d3ccfe43b29116f62 Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Fri, 19 Jan 2001 16:07:21 -0500 Subject: [PATCH] * decl2.c (flag_vtable_thunks): Also depend on ENABLE_NEW_GXX_ABI. From-SVN: r39142 --- gcc/cp/ChangeLog | 7 +++++++ gcc/cp/decl2.c | 4 ++++ 2 files changed, 11 insertions(+) diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 661e6922b6b..79274281bed 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,10 @@ +2001-01-19 Jason Merrill + + * 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 * decl2.c (arg_assoc_class): Fix double iteration logic. diff --git a/gcc/cp/decl2.c b/gcc/cp/decl2.c index 18b864b730c..dd7cb1cb50b 100644 --- a/gcc/cp/decl2.c +++ b/gcc/cp/decl2.c @@ -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. */ -- 2.30.2