This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r253408 - in /branches/c++-name-lookup: ChangeL...
- From: nathan at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 04 Oct 2017 12:45:48 -0000
- Subject: r253408 - in /branches/c++-name-lookup: ChangeL...
Author: nathan
Date: Wed Oct 4 12:45:48 2017
New Revision: 253408
URL: https://gcc.gnu.org/viewcvs?rev=253408&root=gcc&view=rev
Log:
gcc/cp/
* cp-tree.h (record_mangling): Adjust arg types.
* decl2.c (mangled_decls): New hash_map.
(generate_mangling_alias): Use mangled_decls, not
IDENTFIFIER_GLOBAL_VALUE.
(decl_implicit_alias_p): Delete.
(record_mangling): Use mangled_decls, not
IDENTIFIER_GLOBAL_VALUE. Diagnose conflict here.
* mangle.c (mangle_decl): Adjust record_mangling call. Don't
diagnose here.
* name-lookup.c (set_global_binding): Remove temporary hack.
gcc/testsuite/
* g++.dg/abi/mangle41.C: Adjust diags.
libcc1/
* libcp1plugin.cc (supplement_binding): Don't call
maybe_remove_implicit_alias.
Modified:
branches/c++-name-lookup/ChangeLog.name-lookup
branches/c++-name-lookup/gcc/cp/cp-tree.h
branches/c++-name-lookup/gcc/cp/decl2.c
branches/c++-name-lookup/gcc/cp/mangle.c
branches/c++-name-lookup/gcc/cp/name-lookup.c
branches/c++-name-lookup/gcc/testsuite/g++.dg/abi/mangle41.C
branches/c++-name-lookup/libcc1/libcp1plugin.cc