OSDN Git Service

* decl2.c (flag_vtable_thunks): Also depend on ENABLE_NEW_GXX_ABI.
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 19 Jan 2001 21:07:21 +0000 (21:07 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 19 Jan 2001 21:07:21 +0000 (21:07 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39142 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/cp/ChangeLog
gcc/cp/decl2.c

index 661e692..7927428 100644 (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.
index 18b864b..dd7cb1c 100644 (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.  */