diff options
author | Jason Merrill <jason@redhat.com> | 2025-04-04 23:27:50 -0400 |
---|---|---|
committer | Jason Merrill <jason@redhat.com> | 2025-04-17 13:19:17 -0400 |
commit | eff4dc423327682d4b1e32f0122d9e973e3c6f99 (patch) | |
tree | ff2057b602d9fbfcb0a091966aa2ff4803303d7a /libjava/classpath | |
parent | 47b62be9cace0e2e124650f331788d52ffd5fb25 (diff) | |
download | gcc-eff4dc423327682d4b1e32f0122d9e973e3c6f99.zip gcc-eff4dc423327682d4b1e32f0122d9e973e3c6f99.tar.gz gcc-eff4dc423327682d4b1e32f0122d9e973e3c6f99.tar.bz2 |
c++: add assert to cp_make_fname_decl
In the PR118629 testcase, pushdecl_outermost_localscope was failing and
returning error_mark_node without ever actually giving an error; in addition
to my earlier fix for the failure, make sure failures aren't silent.
gcc/cp/ChangeLog:
* decl.cc (cp_make_fname_decl): Prevent silent failure.
Diffstat (limited to 'libjava/classpath')
0 files changed, 0 insertions, 0 deletions