aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-threadedge.c
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@acm.org>2021-03-30 09:45:59 -0700
committerNathan Sidwell <nathan@acm.org>2021-03-30 09:52:21 -0700
commit5f3c6027257118469a722816e228394b5978ddb0 (patch)
tree6e9fcebdfa65a81124a5bff9b307812dd79f419b /gcc/tree-ssa-threadedge.c
parent953624089be3f51c2ebacba65be8521bf6ae8430 (diff)
downloadgcc-5f3c6027257118469a722816e228394b5978ddb0.zip
gcc-5f3c6027257118469a722816e228394b5978ddb0.tar.gz
gcc-5f3c6027257118469a722816e228394b5978ddb0.tar.bz2
c++: duplicate const static members [PR 99283]
This is the bug that keeps on giving. Reducing it has been successful at hitting other defects. In this case, some more specialization hash table fun, plus an issue with reading in a definition of a duplicated declaration. At least I discovered a null context check is no longer needed. PR c++/99283 gcc/cp/ * module.cc (dumper::operator): Make less brittle. (trees_out::core_bools): VAR_DECLs always have a context. (trees_out::key_mergeable): Use same_type_p for asserting. (trees_in::read_var_def): Propagate DECL_INITIALIZED_BY_CONSTANT_EXPRESSION_P. gcc/testsuite/ * g++.dg/modules/pr99283-5.h: New. * g++.dg/modules/pr99283-5_a.H: New. * g++.dg/modules/pr99283-5_b.H: New. * g++.dg/modules/pr99283-5_c.C: New.
Diffstat (limited to 'gcc/tree-ssa-threadedge.c')
0 files changed, 0 insertions, 0 deletions