diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2023-02-10 19:07:33 +0100 |
---|---|---|
committer | Marc Poulhiès <poulhies@adacore.com> | 2023-05-22 10:46:13 +0200 |
commit | 8911204d4ab366d61c24ed8da9557fcf4c40e4bc (patch) | |
tree | 426a039e2d7389110198028466025bb09a850ca7 /gcc/value-range.h | |
parent | 2d751b416a86ea4362c291397fa5b3f51395d5d5 (diff) | |
download | gcc-8911204d4ab366d61c24ed8da9557fcf4c40e4bc.zip gcc-8911204d4ab366d61c24ed8da9557fcf4c40e4bc.tar.gz gcc-8911204d4ab366d61c24ed8da9557fcf4c40e4bc.tar.bz2 |
ada: Small cleanup in support for protected subprograms
This moves the propagation of the Uses_Sec_Stack flag, from the original to
the rewritten subprogram, to the point where the latter is expanded, along
with the propagation of the Has_Nested_Subprogram flag, as well as addresses
a ??? comment in the same block of code. No functional changes.
gcc/ada/
* inline.adb (Cleanup_Scopes): Do not propagate the Uses_Sec_Stack
flag from original to rewritten protected subprograms here...
* exp_ch9.adb (Expand_N_Protected_Body) <N_Subprogram_Body>:
...but here instead. Add local variables and remove a useless
test.
Diffstat (limited to 'gcc/value-range.h')
0 files changed, 0 insertions, 0 deletions