]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/18143 (Duplicated thunk with a huge member in the hierarchy)
authorNathan Sidwell <nathan@codesourcery.com>
Wed, 10 Nov 2004 17:34:47 +0000 (17:34 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Wed, 10 Nov 2004 17:34:47 +0000 (17:34 +0000)
commitea1763b1e4fefce5f111b1f914a83e5e3577f444
tree8829016c2ed4010c8ebc2fc7d926015013f72d69
parent22d8d62798a3ce51a7e328805593bf675eddf60f
re PR c++/18143 (Duplicated thunk with a huge member in the hierarchy)

.: * tree.c (tree_check_failed): Emit general error if the list of
node types is empty.
cp:
PR c++/18143
* cp-tree.h (NON_THUNK_FUNCTION_CHECK, THUNK_FUNCTION_CHECK): New.
(struct lang_decl_flags): Add thunk_p flag.
(struct lang_decl): Remove separate fixed_offset. Place
cloned_function and fixed_offset into union.
(DECL_CLONED_FUNCTION_P, DECL_CLONED_FUNCTION): Adjust.
(DECL_THUNK_P, SET_DECL_THUNK_P): Adjust.
(THUNK_FIXED_OFFSET): Adjust.
* method.c (make_thunk): Adjust.

From-SVN: r90399
gcc/ChangeLog
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/method.c
gcc/tree.c