https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117051
--- Comment #3 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Marc Poulhi?s <d...@gcc.gnu.org>: https://gcc.gnu.org/g:f6afd361c53c319f5151ddd6c0700eea8b0125c9 commit r15-4900-gf6afd361c53c319f5151ddd6c0700eea8b0125c9 Author: Eric Botcazou <ebotca...@adacore.com> Date: Thu Oct 10 13:06:12 2024 +0200 ada: Fix internal error on alignment clause for type declared in generic unit The front-end raises Program_Error on an alignment clause for a type in a generic unit that references the alignment of another type in the unit. gcc/ada/ChangeLog: PR ada/117051 * freeze.adb (Freeze_Entity): Call the layout procedure on subtypes declared in a generic unit when they are static.