aboutsummaryrefslogtreecommitdiff
path: root/libjava/testsuite/libjava.lang/Finalize_1.java
diff options
context:
space:
mode:
authorIain Buclaw <ibuclaw@gdcproject.org>2026-01-29 14:06:14 +0100
committerIain Buclaw <ibuclaw@gdcproject.org>2026-01-29 15:27:18 +0100
commitb4ee1a549eac8d165740616376beeab73c5c6512 (patch)
treedb8e72c43fb8b0894be48b82fd84fcb2df62606e /libjava/testsuite/libjava.lang/Finalize_1.java
parent06320fa8b37593f00ebc13b37d6411eb29ff8a4c (diff)
downloadgcc-b4ee1a549eac8d165740616376beeab73c5c6512.zip
gcc-b4ee1a549eac8d165740616376beeab73c5c6512.tar.gz
gcc-b4ee1a549eac8d165740616376beeab73c5c6512.tar.bz2
d: Fix ICE in gimplify_expr with const ref noreturn parameters [PR123046]
The ICE was caused by references to const/immutable qualified `noreturn' declarations that were being leaked to the code generation when they should have been omitted or replaced with `assert(0)'. PR d/123046 gcc/d/ChangeLog: * d-codegen.cc (build_address): Return `null' when generating the address of a `noreturn' declaration. (d_build_call): Compare TYPE_MAIN_VARIANT of type with `noreturn'. * decl.cc (get_fndecl_arguments): Likewise. * types.cc (finish_aggregate_mode): Likewise. (TypeVisitor::visit (TypeFunction *)): Likewise. gcc/testsuite/ChangeLog: * gdc.dg/pr123046.d: New test.
Diffstat (limited to 'libjava/testsuite/libjava.lang/Finalize_1.java')
0 files changed, 0 insertions, 0 deletions