https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123857
--- Comment #7 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-16 branch has been updated by Eric Botcazou <[email protected]>: https://gcc.gnu.org/g:84e762dc5cdb266ee52cc0ce444c8aa9c458bbee commit r16-9486-g84e762dc5cdb266ee52cc0ce444c8aa9c458bbee Author: Eric Botcazou <[email protected]> Date: Sat Aug 1 18:44:12 2026 +0200 Ada: Fix crash on Unchecked_Union component with -gnateV This is the same bug as PR ada/123857, but at a nested level, and the fix is the same 1-liner but at a different place. gcc/ada/ PR ada/126553 * exp_attr.adb (Build_Record_VS_Func.Validate_Field): Do nothing if the field is of an Unchecked_Union type. gcc/testsuite/ * gnat.dg/unchecked_union5.adb: New test.
