aboutsummaryrefslogtreecommitdiff
path: root/libjava/classpath/gnu/java
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2026-02-07 11:06:35 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2026-02-07 11:09:20 +0100
commite6749b94438a1a47c34a390e2eee53546c6d33ea (patch)
tree06d8132755c18ea09ac38508f6aaa58941749ac6 /libjava/classpath/gnu/java
parent5f5ca32dd175ccd2946cedef23769482c309945e (diff)
downloadgcc-e6749b94438a1a47c34a390e2eee53546c6d33ea.zip
gcc-e6749b94438a1a47c34a390e2eee53546c6d33ea.tar.gz
gcc-e6749b94438a1a47c34a390e2eee53546c6d33ea.tar.bz2
c++: Fix error recovery of invalid splice during tsubst_splice_expr [PR123752]
splice can return error_mark_node, e.g. if the evaluation of the constant expression throws without being caught, and the error_mark_node later on causes ICEs in various asserts. The following patch fixes it by returning early if error_mark_node is returned. 2026-02-07 Jakub Jelinek <jakub@redhat.com> PR c++/123752 * pt.cc (tsubst_splice_expr): Return error_mark_node if splice returned it. * g++.dg/reflect/splice8.C: New test.
Diffstat (limited to 'libjava/classpath/gnu/java')
0 files changed, 0 insertions, 0 deletions