diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2021-11-17 14:19:45 +0100 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2021-12-02 16:26:26 +0000 |
commit | 8decef400095da6fcee12cb0bcd8cb4cc367e8fc (patch) | |
tree | c3dadbc356d9f494bef21f8f7d91c77b64e8a19c /gcc/ada/libgnarl | |
parent | eca89ac6e73026a8606e05e6f0486f963c02c4bc (diff) | |
download | gcc-8decef400095da6fcee12cb0bcd8cb4cc367e8fc.zip gcc-8decef400095da6fcee12cb0bcd8cb4cc367e8fc.tar.gz gcc-8decef400095da6fcee12cb0bcd8cb4cc367e8fc.tar.bz2 |
[Ada] Enhance freezing code for instantiations
gcc/ada/
* sem_ch12.adb (Freeze_Package_Instance): Consistently consider
the freeze node of the parent and use large inequality for
Slocs.
(Freeze_Subprogram_Instance): Likewise.
(Insert_Freeze_Node_For_Instance): For an instance in a package
spec with no source body that immediately follows, consider the
body of the package for the placement of the freeze node and go
to the outer level if there is no such body.
Diffstat (limited to 'gcc/ada/libgnarl')
0 files changed, 0 insertions, 0 deletions