mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-24 17:09:15 +08:00
* decl2.c (mark_vtable_entries): Fix check for rtti offset.
From-SVN: r27978
This commit is contained in:
parent
0bf162b9a0
commit
db39aa0b8d
@ -1,3 +1,7 @@
|
||||
Wed Jul 7 01:26:47 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
|
||||
|
||||
* decl2.c (mark_vtable_entries): Fix check for rtti offset.
|
||||
|
||||
1999-07-06 Gavin Romig-Koch <gavin@cygnus.com>
|
||||
|
||||
* typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
|
||||
|
@ -2414,12 +2414,13 @@ mark_vtable_entries (decl)
|
||||
tree fnaddr;
|
||||
tree fn;
|
||||
|
||||
if (TREE_CODE (TREE_VALUE (entries)) == NOP_EXPR)
|
||||
fnaddr = (flag_vtable_thunks ? TREE_VALUE (entries)
|
||||
: FNADDR_FROM_VTABLE_ENTRY (TREE_VALUE (entries)));
|
||||
|
||||
if (TREE_CODE (fnaddr) == NOP_EXPR)
|
||||
/* RTTI offset. */
|
||||
continue;
|
||||
|
||||
fnaddr = (flag_vtable_thunks ? TREE_VALUE (entries)
|
||||
: FNADDR_FROM_VTABLE_ENTRY (TREE_VALUE (entries)));
|
||||
fn = TREE_OPERAND (fnaddr, 0);
|
||||
TREE_ADDRESSABLE (fn) = 1;
|
||||
if (DECL_LANG_SPECIFIC (fn) && DECL_ABSTRACT_VIRTUAL_P (fn))
|
||||
|
Loading…
Reference in New Issue
Block a user