On 10/05/2017 05:28 AM, Bernhard Reutner-Fischer wrote:
On Wed, Oct 04, 2017 at 12:51:18PM -0400, Nathan Sidwell wrote:
+ /* If this is already an alias, remove the alias, because the real
+ decl takes presidence. */
s/presidence/precedence/ ?
thanks,
+ if (!existed)
+;
+ else
On Wed, Oct 04, 2017 at 12:51:18PM -0400, Nathan Sidwell wrote:
> Applying to trunk.
+void
+record_mangling (tree decl, bool need_warning)
+{
+ if (!mangled_decls)
+mangled_decls = hash_map::create_ggc (499);
+
+ gcc_checking_assert (DECL_ASSEMBLER_NAME_SET_P (decl));
+ tree id = DECL_ASSE
To deal with changes in the ABI that affected manglings, we like pushing
decls into :: under their mangled names. This is one of the 3 places we
push decls under something not their DECL_NAME, and causes the namespace
binding map to not be a simple hash table of DECLs.
It also can give rise t