This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/77379] incorrect mangling for non-virtual adjustor thunk (missing abi tag)


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]