aboutsummaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2023-01-12 15:51:40 +0100
committerMarc Poulhiès <poulhies@adacore.com>2023-05-15 11:36:42 +0200
commit0ca7fcf5635bdd363a5a18e7cf5828d87b5aac55 (patch)
tree24b274b11f3ec00117bfcb1cafed0bd49aef2a6a /libgcc
parent1f068a17811a89035e43894686b333e9070f45ef (diff)
downloadgcc-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