diff options
author | Marc Poulhiès <poulhies@adacore.com> | 2024-02-27 13:47:27 +0100 |
---|---|---|
committer | Marc Poulhiès <poulhies@adacore.com> | 2024-05-16 10:49:34 +0200 |
commit | f72988ac5ecfd56229374cbe76d867177ec5431d (patch) | |
tree | bfb3485ddbce6b4e1d40873954547c14d93ad97c /gcc/tree-vectorizer.h | |
parent | 584ade0b82339d95463bc91c9fdd77579b16426a (diff) | |
download | gcc-f72988ac5ecfd56229374cbe76d867177ec5431d.zip gcc-f72988ac5ecfd56229374cbe76d867177ec5431d.tar.gz gcc-f72988ac5ecfd56229374cbe76d867177ec5431d.tar.bz2 |
ada: Reset scope of top level object declaration during unnesting
When unnesting, the compiler gathers elaboration code and wraps it with
a new dedicated procedure. While doing so, it resets the scopes of
entities that are wrapped to point to this new procedure. This change
also resets the scopes of N_Object_Declaration and
N_Object_Renaming_Declaration nodes only if an elaboration procedure
is needed.
gcc/ada/
* exp_ch7.adb (Reset_Scopes_To_Block_Elab_Proc): also reset scope
for object declarations.
Diffstat (limited to 'gcc/tree-vectorizer.h')
0 files changed, 0 insertions, 0 deletions