[PATCH] DECL_ASSEMBLER_NAME and friends
commit3bdf5a5d833483d7c91acaaa058965a85328ab6a
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 11 Oct 2017 16:35:18 +0000 (11 16:35 +0000)
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 11 Oct 2017 16:35:18 +0000 (11 16:35 +0000)
tree3391663508708f07e1d69dd68f414f42a8bb0a94
parent971295a0cb1ab83e19dcfc514ae06e37da65838d
[PATCH] DECL_ASSEMBLER_NAME and friends

https://gcc.gnu.org/ml/gcc-patches/2017-10/msg00582.html
* tree.h (DECL_ASSEMBLER_NAME_SET_P): Don't check
HAS_DECL_ASSEMBLER_NAME_P.
* gimple-expr.c (gimple_decl_printable_name: Check
HAS_DECL_ASSEMBLER_NAME_P too.
* ipa-utils.h (type_in_anonymous_namespace_p): Check
DECL_ASSEMBLER_NAME_SET_P of TYPE_NAME.
(odr_type_p): No need to assert TYPE_NAME is a TYPE_DECL.
* passes.c (rest_of_decl_compilation): Check
HAS_DECL_ASSEMBLER_NAME_P too.
* recog.c (verify_changes): Likewise.
* tree-pretty-print.c (dump_decl_name): Likewise.
* tree-ssa-structalias.c (alias_get_name): Likewise.  Reimplement.

c/
* c-decl.c (grokdeclarator): Check HAS_DECL_ASSEMBLER_NAME_P too.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@253649 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/c/ChangeLog
gcc/c/c-decl.c
gcc/gimple-expr.c
gcc/ipa-utils.h
gcc/passes.c
gcc/recog.c
gcc/tree-pretty-print.c
gcc/tree-ssa-structalias.c
gcc/tree.h