diff options
| author | Jakub Jelinek <jakub@redhat.com> | 2026-02-07 11:07:28 +0100 |
|---|---|---|
| committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2026-02-07 11:09:20 +0100 |
| commit | 04f84457772946904f5882ef1b528fe1766ef006 (patch) | |
| tree | 4884bb845176e5559432d26712b57121957f0ffa /libjava/classpath/gnu/java | |
| parent | e6749b94438a1a47c34a390e2eee53546c6d33ea (diff) | |
| download | gcc-04f84457772946904f5882ef1b528fe1766ef006.zip gcc-04f84457772946904f5882ef1b528fe1766ef006.tar.gz gcc-04f84457772946904f5882ef1b528fe1766ef006.tar.bz2 | |
c++: Handle SPLICE_SCOPE in cp_walk_subtrees [PR123659]
SPLICE_SCOPE is a TYPE_P, but didn't have its SPLICE_SCOPE_EXPR
walked by cp_walk_tree, so the following testcase has been rejected
because it didn't find a pack in it.
SPLICE_EXPR is fine, as it is tcc_expression and walk_tree by default
walks all the tcc_exception operands for unknown trees.
2026-02-07 Jakub Jelinek <jakub@redhat.com>
PR c++/123659
* tree.cc (cp_walk_subtrees): Handle SPLICE_SCOPE.
* g++.dg/reflect/splice9.C: New test.
Diffstat (limited to 'libjava/classpath/gnu/java')
0 files changed, 0 insertions, 0 deletions
