[PATCH] DECL_ASSEMBLER_NAME and friends
authorNathan Sidwell <nathan@gcc.gnu.org>
Wed, 11 Oct 2017 15:33:51 +0000 (15:33 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Wed, 11 Oct 2017 15:33:51 +0000 (15:33 +0000)
commit4e7d02606ea8b0dac11887b1f759ea61d5394d86
treed02ed206b4fdcfc4796f611f2578941e141fa903
parent64766e8dc78b92fc906e21429b1befd2b248f96e
[PATCH] DECL_ASSEMBLER_NAME and friends

https://gcc.gnu.org/ml/gcc-patches/2017-10/msg00582.html
* tree.h (DECL_ASSEMBLER_NAME_RAW): New.
(SET_DECL_ASSEMBLER_NAME): Use it.
(DECL_ASSEMBLER_NAME_SET_P): Likewise.
(COPY_DECL_ASSEMBLER_NAME): Likewise.
* tree.c (decl_assembler_name): Use DECL_ASSEMBLER_NAME_RAW.

lto/
* lto.c (mentions_vars_p_decl_with_vis): Use
DECL_ASSEMBLER_NAME_RAW.
(lto_fixup_prevailing_decls): Likewise.

cp
* decl2.c (struct mangled_decl_hash): Use DECL_ASSEMBLER_NAME_RAW.
(record_mangling): Likewise.

From-SVN: r253647
gcc/ChangeLog
gcc/cp/ChangeLog
gcc/cp/decl2.c
gcc/lto/ChangeLog
gcc/lto/lto.c
gcc/tree.c
gcc/tree.h