[Bug c++/18143] [4.0 Regression] Duplicated thunk with a huge member in the hierarchy
cvs-commit at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Nov 10 17:35:00 GMT 2004
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-11-10 17:35 -------
Subject: Bug 18143
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: nathan@gcc.gnu.org 2004-11-10 17:34:48
Modified files:
gcc : ChangeLog tree.c
gcc/cp : ChangeLog method.c cp-tree.h
Log message:
.:
* 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.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.6265&r2=2.6266
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree.c.diff?cvsroot=gcc&r1=1.444&r2=1.445
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.4477&r2=1.4478
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/method.c.diff?cvsroot=gcc&r1=1.316&r2=1.317
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/cp-tree.h.diff?cvsroot=gcc&r1=1.1069&r2=1.1070
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18143
More information about the Gcc-bugs
mailing list