diff options
author | Nathan Sidwell <nathan@acm.org> | 2021-03-05 12:49:34 -0800 |
---|---|---|
committer | Nathan Sidwell <nathan@acm.org> | 2021-03-05 12:54:00 -0800 |
commit | 9e64dd6b3f6706de571c6ed3c4b7a8c8b67f22b7 (patch) | |
tree | b79057eb3e58ba87d4acfcb499b08a20ff59903b /gcc/tree-cfg.c | |
parent | b1bee29167df6b0fbc9a4c8d06e2acbf3367af47 (diff) | |
download | gcc-9e64dd6b3f6706de571c6ed3c4b7a8c8b67f22b7.zip gcc-9e64dd6b3f6706de571c6ed3c4b7a8c8b67f22b7.tar.gz gcc-9e64dd6b3f6706de571c6ed3c4b7a8c8b67f22b7.tar.bz2 |
c++: Duplicate namespace bindings [PR 99245]
Header units can declare the same entity, and this can lead to one of
them containing a (non-using) binding to an import. If one gets the
cluster ordering just right, an assert will trigger. Relax that assert.
PR c++/99245
gcc/cp/
* module.cc (module_state::write_cluster): Relax binding assert.
gcc/testsuite/
* g++.dg/modules/pr99245_a.H: New.
* g++.dg/modules/pr99245_b.H: New.
Diffstat (limited to 'gcc/tree-cfg.c')
0 files changed, 0 insertions, 0 deletions