diff options
author | Yannick Moy <moy@adacore.com> | 2022-05-02 17:38:41 +0200 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2022-06-02 09:06:39 +0000 |
commit | 5987f43412766ef5fc7cd56b4a2cb6a44a3940ba (patch) | |
tree | 6bd9706970f08e0b62630e7717a36cbb5fce6d20 /gcc/ctfout.cc | |
parent | d276374355196abe35e162795da94c112ee13b80 (diff) | |
download | gcc-5987f43412766ef5fc7cd56b4a2cb6a44a3940ba.zip gcc-5987f43412766ef5fc7cd56b4a2cb6a44a3940ba.tar.gz gcc-5987f43412766ef5fc7cd56b4a2cb6a44a3940ba.tar.bz2 |
[Ada] Issue errors on wrong context for ghost entities
References to ghost entities should only occur in ghost context. This
was not checked systematically on all references.
gcc/ada/
* sem_ch2.adb (Analyze_Identifier): Add checking for ghost
context.
* sem_ch5.adb (Analyze_Implicit_Label_Declaration): Treat
implicit labels like other entities by setting their ghost
status according to context.
* ghost.adb (Check_Ghost_Context): Adapt checking.
Diffstat (limited to 'gcc/ctfout.cc')
0 files changed, 0 insertions, 0 deletions