aboutsummaryrefslogtreecommitdiff
path: root/gcc/coverage.c
diff options
context:
space:
mode:
authorNathaniel Shead <nathanieloshead@gmail.com>2025-05-24 00:51:49 +1000
committerNathaniel Shead <nathanieloshead@gmail.com>2025-05-24 08:57:37 +1000
commit2486d94bc45a9815395a36cc6dc1e9e3219a74b7 (patch)
tree4c890e53506bfd5b4694537e0c6795a21356c561 /gcc/coverage.c
parentfd2a11eb2deb4be498a9d000c0a41446c14672df (diff)
downloadgcc-2486d94bc45a9815395a36cc6dc1e9e3219a74b7.zip
gcc-2486d94bc45a9815395a36cc6dc1e9e3219a74b7.tar.gz
gcc-2486d94bc45a9815395a36cc6dc1e9e3219a74b7.tar.bz2
c++/modules: Fix stream-in of member using-decls [PR120414]
When streaming in a reference to a data member, we have an oversight where we did not consider USING_DECLs, despite otherwise handling them here the same as fields. This patch corrects that mistake. PR c++/120414 gcc/cp/ChangeLog: * module.cc (trees_in::tree_node): Allow reading a USING_DECL when streaming tt_data_member. gcc/testsuite/ChangeLog: * g++.dg/modules/using-31_a.C: New test. * g++.dg/modules/using-31_b.C: New test. Signed-off-by: Nathaniel Shead <nathanieloshead@gmail.com> Reviewed-by: Jason Merrill <jason@redhat.com> (cherry picked from commit 43dddeef7a870ce4db7407f73660504b67a0a919)
Diffstat (limited to 'gcc/coverage.c')
0 files changed, 0 insertions, 0 deletions