diff options
author | Jason Merrill <jason@redhat.com> | 2016-08-29 12:42:57 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2016-08-29 12:42:57 -0400 |
commit | 328eae1cb4cca4903f4b6de3bf56c4e59fdbdeae (patch) | |
tree | e67a3eb92b6792058da7ad6900b7d81789342064 /gcc/cp/method.c | |
parent | 34cedad50c75e63d0898db1f117ec236bd4e3891 (diff) | |
download | gcc-328eae1cb4cca4903f4b6de3bf56c4e59fdbdeae.zip gcc-328eae1cb4cca4903f4b6de3bf56c4e59fdbdeae.tar.gz gcc-328eae1cb4cca4903f4b6de3bf56c4e59fdbdeae.tar.bz2 |
PR c++/77379 - ABI tag on thunk
* mangle.c (maybe_check_abi_tags): Add version parm, handle thunks.
(mangle_thunk): Add thunk parameter.
* method.c (finish_thunk): Pass it.
* cp-tree.h: Declare it.
From-SVN: r239830
Diffstat (limited to 'gcc/cp/method.c')
-rw-r--r-- | gcc/cp/method.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/method.c b/gcc/cp/method.c index 75342ae..957ea39 100644 --- a/gcc/cp/method.c +++ b/gcc/cp/method.c @@ -169,7 +169,7 @@ finish_thunk (tree thunk) virtual_offset = BINFO_VPTR_FIELD (virtual_offset); function = THUNK_TARGET (thunk); name = mangle_thunk (function, DECL_THIS_THUNK_P (thunk), - fixed_offset, virtual_offset); + fixed_offset, virtual_offset, thunk); /* We can end up with declarations of (logically) different covariant thunks, that do identical adjustments. The two thunks |