Commit 7a852b59 by Nathan Sidwell Committed by Nathan Sidwell

Re: [C++ PATCH] Move mangling alias out of ::

https://gcc.gnu.org/ml/gcc-patches/2017-10/msg00230.html
	* decl2.c (record_mangling): Fix spello and formatting from
	previous patch.

From-SVN: r253440
parent 8fe3ed4c
2017-10-05 Nathan Sidwell <nathan@acm.org>
* decl2.c (record_mangling): Fix spello and formatting from
previous patch.
2017-10-04 Nathan Sidwell <nathan@acm.org>
Give builtin types the correct name.
......
......@@ -4377,10 +4377,8 @@ record_mangling (tree decl, bool need_warning)
tree *slot = &mangled_decls->get_or_insert (id, &existed);
/* If this is already an alias, remove the alias, because the real
decl takes presidence. */
if (!existed)
;
else if (DECL_ARTIFICIAL (*slot) && DECL_IGNORED_P (*slot))
decl takes precedence. */
if (existed && DECL_ARTIFICIAL (*slot) && DECL_IGNORED_P (*slot))
if (symtab_node *n = symtab_node::get (*slot))
if (n->cpp_implicit_alias)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment