https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110314
--- Comment #6 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Eric Botcazou <[email protected]>: https://gcc.gnu.org/g:6fdee070ff386bb5c284234afa3dfda9ba3d22db commit r16-4226-g6fdee070ff386bb5c284234afa3dfda9ba3d22db Author: Franck Behaghel <[email protected]> Date: Sun Oct 5 12:17:10 2025 +0200 Ada: Fix assertion failure on allocators for discriminated type with default This is an incorrect node sharing for allocators built for a discriminated type with default values. gcc/ada/ PR ada/110314 * sem_ch4.adb (Analyze_Allocator): Add call to New_Copy_Tree. gcc/testsuite/ * gnat.dg/allocator3.adb: New test.
