diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2024-10-10 13:06:12 +0200 |
---|---|---|
committer | Marc Poulhiès <dkm@gcc.gnu.org> | 2024-11-04 16:57:56 +0100 |
commit | f6afd361c53c319f5151ddd6c0700eea8b0125c9 (patch) | |
tree | dfadca93293e85ce59d492ea1b9f25c0ff8a6b0a /gcc/ada/doc/gnat_rm | |
parent | a0b57f6ff5c8eff7e8c17a28ccbed7b11ddc82e7 (diff) | |
download | gcc-f6afd361c53c319f5151ddd6c0700eea8b0125c9.zip gcc-f6afd361c53c319f5151ddd6c0700eea8b0125c9.tar.gz gcc-f6afd361c53c319f5151ddd6c0700eea8b0125c9.tar.bz2 |
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.
Diffstat (limited to 'gcc/ada/doc/gnat_rm')
0 files changed, 0 insertions, 0 deletions