diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2023-01-12 15:51:40 +0100 |
---|---|---|
committer | Marc Poulhiès <poulhies@adacore.com> | 2023-05-15 11:36:42 +0200 |
commit | 0ca7fcf5635bdd363a5a18e7cf5828d87b5aac55 (patch) | |
tree | 24b274b11f3ec00117bfcb1cafed0bd49aef2a6a /libgcc | |
parent | 1f068a17811a89035e43894686b333e9070f45ef (diff) | |
download | gcc-0ca7fcf5635bdd363a5a18e7cf5828d87b5aac55.zip gcc-0ca7fcf5635bdd363a5a18e7cf5828d87b5aac55.tar.gz gcc-0ca7fcf5635bdd363a5a18e7cf5828d87b5aac55.tar.bz2 |
ada: Fix internal error on instance in package body with -gnatn
This plugs a small loophole in the procedure responsible for attempting to
hide entities that have been previously made public by the semantic analyzer
in package bodies.
gcc/ada/
* sem_ch7.adb (Hide_Public_Entities): Use the same condition for
subprogram bodies without specification as for those with one.
Diffstat (limited to 'libgcc')
0 files changed, 0 insertions, 0 deletions