diff options
author | Nathan Sidwell <nathan@acm.org> | 2021-02-09 08:11:58 -0800 |
---|---|---|
committer | Nathan Sidwell <nathan@acm.org> | 2021-02-09 08:17:12 -0800 |
commit | 92941cea2f05a8cf79fc71aa39fa948dcfb82d7a (patch) | |
tree | 00a2763e9a640813f764a0d60f83d7761fb53556 /libstdc++-v3 | |
parent | 26a3f288f1895a8c061c0458590542a3d2ee796a (diff) | |
download | gcc-92941cea2f05a8cf79fc71aa39fa948dcfb82d7a.zip gcc-92941cea2f05a8cf79fc71aa39fa948dcfb82d7a.tar.gz gcc-92941cea2f05a8cf79fc71aa39fa948dcfb82d7a.tar.bz2 |
c++: Fix indirect partitions [PR 98944]
The most recent reimplementation of module loading initialization
changed the behaviour of setting an import's location, and broke some
partition handling.
PR c++/98944
gcc/cp/
* module.cc (module_state::is_rooted): Rename to ...
(module_state::has_location): ... here. Adjust callers.
(module_state::read_partitions): Adjust validity check.
Don't overwrite a known location.
gcc/testsuite/
* g++.dg/modules/pr98944_a.C: New.
* g++.dg/modules/pr98944_b.C: New.
* g++.dg/modules/pr98944_c.C: New.
* g++.dg/modules/pr98944_d.C: New.
Diffstat (limited to 'libstdc++-v3')
0 files changed, 0 insertions, 0 deletions