diff options
author | Gary Dismukes <dismukes@adacore.com> | 2019-12-12 10:02:38 +0000 |
---|---|---|
committer | Pierre-Marie de Rodat <pmderodat@gcc.gnu.org> | 2019-12-12 10:02:38 +0000 |
commit | 182c8b7d2d43c71c92736bc37fe2a17545aa7776 (patch) | |
tree | 25b8f7441ac3dd6e8750a6c7d59f94f54e400879 /gcc/tree-vectorizer.h | |
parent | c171199011ac0d37df67ff99ea7286fa3455efcf (diff) | |
download | gcc-182c8b7d2d43c71c92736bc37fe2a17545aa7776.zip gcc-182c8b7d2d43c71c92736bc37fe2a17545aa7776.tar.gz gcc-182c8b7d2d43c71c92736bc37fe2a17545aa7776.tar.bz2 |
[Ada] Handling up-level references in protected entries and freeze nodes
2019-12-12 Gary Dismukes <dismukes@adacore.com>
gcc/ada/
* exp_ch9.adb (Build_Protected_Entry): Analyze the block created
to hold the declarations and statements of the protected entry
body right after it's created, and then call Reset_Scopes_To on
that block to reset the Scope of nested entities to the block
scope.
(Reset_Scope): Add handling for N_Freeze_Entity nodes, calling
Reset_Scopes recursively on the Actions of such nodes. Also, for
subprogram bodies that are encountered that might not have a
separate declaration (such as type init procedures), reset the
Scope of the subprogram's entity.
From-SVN: r279289
Diffstat (limited to 'gcc/tree-vectorizer.h')
0 files changed, 0 insertions, 0 deletions