diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2022-12-16 16:32:15 +0100 |
---|---|---|
committer | Marc Poulhiès <poulhies@adacore.com> | 2023-01-05 15:30:00 +0100 |
commit | 59d1681bf3dec3a5077247a77e4862516b561284 (patch) | |
tree | 29c390568ac8f05ffbef2efe1888bffad3a8c85b /gcc/ada/doc | |
parent | f0bed52ec97a485aa6ddfd6d83a20402eaf4a63e (diff) | |
download | gcc-59d1681bf3dec3a5077247a77e4862516b561284.zip gcc-59d1681bf3dec3a5077247a77e4862516b561284.tar.gz gcc-59d1681bf3dec3a5077247a77e4862516b561284.tar.bz2 |
ada: Further adjust freezing for expansion of contracts
This further adjusts a test deciding whether to freeze an entity coming from
an outer scope in an inner scope based on language rules, to the presence of
the new internal subprogram generated because of post-conditions.
gcc/ada/
* freeze.adb (Freeze_Entity): For the purpose of deciding whether to
freeze an entity coming from an outer scope in an inner scope, treat
the internal subprogram generated because of post-conditions as also
coming from source if the original subprogram itself does.
Diffstat (limited to 'gcc/ada/doc')
0 files changed, 0 insertions, 0 deletions