re PR c++/14808 ([win32] Undefined results with virtual base classes)
authorDanny Smith <dannysmith@users.sourceforge.net>
Thu, 8 Apr 2004 22:31:23 +0000 (22:31 +0000)
committerDanny Smith <dannysmith@gcc.gnu.org>
Thu, 8 Apr 2004 22:31:23 +0000 (22:31 +0000)
commit4a77e08cfcde08398ad78b29fce29a531190ed52
treece3b9965aa669725a68d26a5e2a93e944f64f5bf
parentcc81dde821dd144faa36924fe5c5febd54c64649
re PR c++/14808 ([win32] Undefined results with virtual base classes)

PR c++/14808
* defaults.h (TARGET_USE_LOCAL_THUNK_ALIAS_P): New macro. Default
to 1 if ASM_OUTPUT_DEF is defined.
* doc/tm.texi (TARGET_USE_LOCAL_THUNK_ALIAS_P): Document.
* config/i386/cygming.h (TARGET_USE_LOCAL_THUNK_ALIAS_P): Define.
Set to non-zero iff not a one_only decl.

* cp/method.c (use_thunk): Test TARGET_USE_LOCAL_THUNK_ALIAS_P rather
than ASM_OUTPUT_DEF.

From-SVN: r80525
gcc/ChangeLog
gcc/config/i386/cygming.h
gcc/cp/ChangeLog
gcc/cp/method.c
gcc/defaults.h
gcc/doc/tm.texi