diff options
author | Ed Schonberg <schonberg@adacore.com> | 2020-11-06 10:21:06 -0500 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2020-11-30 09:16:15 -0500 |
commit | 86b747a553784eb0675406c23f4789afe76eadab (patch) | |
tree | 460fcba53f3a1dfc6b8d2231127b19b4829574e5 /gcc/ada/terminals.c | |
parent | ebbe3f29518854c36574adbd4fa82fd56fa64056 (diff) | |
download | gcc-86b747a553784eb0675406c23f4789afe76eadab.zip gcc-86b747a553784eb0675406c23f4789afe76eadab.tar.gz gcc-86b747a553784eb0675406c23f4789afe76eadab.tar.bz2 |
[Ada] Spurious visibility error in subprogram body in with_clause
gcc/ada/
* sem_util.adb (Enter_Name): When an inherited operation for a
local derived type is hidden by an explicit declaration of a
non-overloadable entity in the same scope, make the inherited
operation non-visible to prevent its accidental use elsewhere.
Diffstat (limited to 'gcc/ada/terminals.c')
0 files changed, 0 insertions, 0 deletions