aboutsummaryrefslogtreecommitdiff
path: root/gcc/cse.c
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@codesourcery.com>2003-12-12 18:22:23 +0000
committerNathan Sidwell <nathan@gcc.gnu.org>2003-12-12 18:22:23 +0000
commite00853fd9010af463931114e469875303b7bf876 (patch)
treee4c56658ea817e7905726e5e9476381df44a1c17 /gcc/cse.c
parent3950dcdfccd66e077b1be064826aac76122f4bb4 (diff)
downloadgcc-e00853fd9010af463931114e469875303b7bf876.zip
gcc-e00853fd9010af463931114e469875303b7bf876.tar.gz
gcc-e00853fd9010af463931114e469875303b7bf876.tar.bz2
re PR c++/13118 ([ABI] Missed covariant return thunk)
cp: PR c++/13118 * cp-tree.h (lang_decl_u): Add thunk_alias member. (THUNK_VIRTUAL_OFFSET): Must be a FUNCTION_DECL. (THUNK_ALIAS_P): Remove. (THUNK_ALIAS): Adjust. * class.c (update_vtable_entry_for_fn): Get the vbase within the overriding function's return type. (dump_thunk): Adjust THUNK_ALIAS printing. (build_vtbl_initializer): Adjust THUNK_ALIAS use. * method.c (make_thunk): Revert 12881 test change. Clear THUNK_ALIAS. (finish_thunk): Adjust THUNK_ALIAS setting. (use_thunk): Adjust THUNK_ALIAS use. * semantics.c (emit_associated_thunks): Likewise. testsuite: PR c++/13118 * g++.dg/abi/covariant3.C: New. From-SVN: r74576
Diffstat (limited to 'gcc/cse.c')
0 files changed, 0 insertions, 0 deletions