aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/method.c
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2016-08-29 12:42:57 -0400
committerJason Merrill <jason@gcc.gnu.org>2016-08-29 12:42:57 -0400
commit328eae1cb4cca4903f4b6de3bf56c4e59fdbdeae (patch)
treee67a3eb92b6792058da7ad6900b7d81789342064 /gcc/cp/method.c
parent34cedad50c75e63d0898db1f117ec236bd4e3891 (diff)
downloadgcc-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.c2
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