aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend/rust-compile-struct-field-expr.h
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2025-07-01 19:17:06 +0200
committerEric Botcazou <ebotcazou@adacore.com>2025-07-01 19:18:46 +0200
commit8deef83915f9e0fb14f278c68527c95085461c41 (patch)
treef2382114a7bcf1b726d0fc6d4e46e978422bb49d /gcc/rust/backend/rust-compile-struct-field-expr.h
parentf471ed487ab36651d48c6c31fb28d36a42a30829 (diff)
downloadgcc-8deef83915f9e0fb14f278c68527c95085461c41.zip
gcc-8deef83915f9e0fb14f278c68527c95085461c41.tar.gz
gcc-8deef83915f9e0fb14f278c68527c95085461c41.tar.bz2
Ada: Fix assertion failure for Finalizable aspect on tagged type
This fixes an assertion failure for the Finalizable aspect applied on a tagged type with discriminant-dependent component. gcc/ada/ PR ada/120705 * exp_ch6.adb (Needs_BIP_Collection): Always return False if the type has relaxed finalization. gcc/testsuite/ * gnat.dg/specs/finalizable2.ads: New test.
Diffstat (limited to 'gcc/rust/backend/rust-compile-struct-field-expr.h')
0 files changed, 0 insertions, 0 deletions