diff options
author | Nathaniel Shead <nathanieloshead@gmail.com> | 2024-04-09 21:49:58 +1000 |
---|---|---|
committer | Nathaniel Shead <nathanieloshead@gmail.com> | 2024-05-01 15:58:42 +1000 |
commit | 0d0215b10dbbe39d655ceda4af283f288ec7680c (patch) | |
tree | a83c9164957d443ee6522efb159b04f8bb9ebef5 /gcc/value-range.cc | |
parent | 79420dd344145819677b3f975bb305a778fcaf91 (diff) | |
download | gcc-0d0215b10dbbe39d655ceda4af283f288ec7680c.zip gcc-0d0215b10dbbe39d655ceda4af283f288ec7680c.tar.gz gcc-0d0215b10dbbe39d655ceda4af283f288ec7680c.tar.bz2 |
c++: Propagate using decls from partitions [PR114868]
The modules code currently neglects to set OVL_USING_P on the dependency
created for a using-decl, which causes it not to remember that the
OVL_EXPORT_P flag had been set on it when emitted from the primary
interface unit. This patch ensures that it occurs.
PR c++/114868
gcc/cp/ChangeLog:
* module.cc (depset::hash::add_binding_entity): Propagate
OVL_USING_P for using-declarations.
gcc/testsuite/ChangeLog:
* g++.dg/modules/using-15_a.C: New test.
* g++.dg/modules/using-15_b.C: New test.
* g++.dg/modules/using-15_c.C: New test.
Signed-off-by: Nathaniel Shead <nathanieloshead@gmail.com>
Diffstat (limited to 'gcc/value-range.cc')
0 files changed, 0 insertions, 0 deletions