]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/cp/method.c
PR c++/77379 - ABI tag on thunk
[thirdparty/gcc.git] / gcc / cp / method.c
index 75342ae5d28f2ea3158227f85724e2a5898dad18..957ea391383c50e4ea680a4ef204debb89b664b5 100644 (file)
@@ -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