]> git.ipfire.org Git - thirdparty/gcc.git/commit
mangle.c (maybe_check_abi_tags): Add for_decl parm.
authorJason Merrill <jason@redhat.com>
Fri, 19 Feb 2016 06:25:05 +0000 (01:25 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 19 Feb 2016 06:25:05 +0000 (01:25 -0500)
commit747b61fcb3b3afbb7300afc0c0b4cd6bcc10608c
treee194a1323865025cd46f4bcc67147d1d564fac21
parent654f089a925617d225457e18d4482ba553742735
mangle.c (maybe_check_abi_tags): Add for_decl parm.

* mangle.c (maybe_check_abi_tags): Add for_decl parm.  Call
mangle_decl.
(mangle_decl): Call maybe_check_abi_tags for function scope.
(mangle_guard_variable): Call maybe_check_abi_tags here.
(write_guarded_var_name): Not here.

From-SVN: r233544
gcc/cp/ChangeLog
gcc/cp/mangle.c
gcc/testsuite/g++.dg/abi/abi-tag16a.C
gcc/testsuite/g++.dg/abi/abi-tag18.C [new file with mode: 0644]
gcc/testsuite/g++.dg/abi/abi-tag18a.C [new file with mode: 0644]