diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2020-10-02 19:15:05 +0200 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2020-11-24 05:16:02 -0500 |
commit | dcb1cad0e0747501e9d54eeec6b0481eb87d23c5 (patch) | |
tree | c9da9866f4c2358954f3ff51c416804f103a31ce /libcpp | |
parent | e269fedf8c150f26e7651c0093ce02bef11ed5d6 (diff) | |
download | gcc-dcb1cad0e0747501e9d54eeec6b0481eb87d23c5.zip gcc-dcb1cad0e0747501e9d54eeec6b0481eb87d23c5.tar.gz gcc-dcb1cad0e0747501e9d54eeec6b0481eb87d23c5.tar.bz2 |
[Ada] Fix internal error on multiple nested instantiations
gcc/ada/
* sem_ch12.adb (Analyze_Associations) <Explicit_Freeze_Check>: Test
that the instance is in a statement sequence instead of local scope.
(Freeze_Subprogram_Body): Use the special delayed placement with
regard to the parent instance only if its Sloc is strictly greater.
(Install_Body): Likewise.
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions