This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/77379] incorrect mangling for non-virtual adjustor thunk (missing abi tag)
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 29 Aug 2016 16:43:29 +0000
- Subject: [Bug c++/77379] incorrect mangling for non-virtual adjustor thunk (missing abi tag)
- Auto-submitted: auto-generated
- References: <bug-77379-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77379
--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Mon Aug 29 16:42:57 2016
New Revision: 239830
URL: https://gcc.gnu.org/viewcvs?rev=239830&root=gcc&view=rev
Log:
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.
Added:
trunk/gcc/testsuite/g++.dg/abi/abi-tag23.C
trunk/gcc/testsuite/g++.dg/abi/abi-tag23a.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/cp-tree.h
trunk/gcc/cp/mangle.c
trunk/gcc/cp/method.c