aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-sink.c
diff options
context:
space:
mode:
authorMarek Polacek <polacek@redhat.com>2020-09-10 19:18:34 -0400
committerMarek Polacek <polacek@redhat.com>2020-09-11 11:17:03 -0400
commit13144466f11036585389a0dc5826bf23d53d5616 (patch)
tree9dfe7bd6076c341c2ab13bdabd9993bca8446ac0 /gcc/tree-ssa-sink.c
parent29216f56d002982f10c33056f4b3d7f07e164122 (diff)
downloadgcc-13144466f11036585389a0dc5826bf23d53d5616.zip
gcc-13144466f11036585389a0dc5826bf23d53d5616.tar.gz
gcc-13144466f11036585389a0dc5826bf23d53d5616.tar.bz2
c++: Remove LOOKUP_CONSTINIT.
Since we now have DECL_DECLARED_CONSTINIT_P, we no longer need LOOKUP_CONSTINIT. gcc/cp/ChangeLog: * cp-tree.h (LOOKUP_CONSTINIT): Remove. (LOOKUP_REWRITTEN): Adjust. * decl.c (duplicate_decls): Set DECL_DECLARED_CONSTINIT_P. (check_initializer): Use DECL_DECLARED_CONSTINIT_P instead of LOOKUP_CONSTINIT. (cp_finish_decl): Don't set DECL_DECLARED_CONSTINIT_P. Use DECL_DECLARED_CONSTINIT_P instead of LOOKUP_CONSTINIT. (grokdeclarator): Set DECL_DECLARED_CONSTINIT_P. * decl2.c (grokfield): Don't handle LOOKUP_CONSTINIT. * parser.c (cp_parser_decomposition_declaration): Remove LOOKUP_CONSTINIT handling. (cp_parser_init_declarator): Likewise. * pt.c (tsubst_expr): Likewise. (instantiate_decl): Likewise. * typeck2.c (store_init_value): Use DECL_DECLARED_CONSTINIT_P instead of LOOKUP_CONSTINIT.
Diffstat (limited to 'gcc/tree-ssa-sink.c')
0 files changed, 0 insertions, 0 deletions