diff options
author | Steve Baird <baird@adacore.com> | 2024-03-11 17:45:58 -0700 |
---|---|---|
committer | Marc Poulhiès <poulhies@adacore.com> | 2024-05-17 10:21:05 +0200 |
commit | 7b5b67dc1960b4b2f72c003e747b34049a5e04a7 (patch) | |
tree | 5779cf86b16bfdf9b93ede303ef1faf0e68da76a /libcpp | |
parent | 3a5c4f926676bada86b7862ec0257ac5170b7976 (diff) | |
download | gcc-7b5b67dc1960b4b2f72c003e747b34049a5e04a7.zip gcc-7b5b67dc1960b4b2f72c003e747b34049a5e04a7.tar.gz gcc-7b5b67dc1960b4b2f72c003e747b34049a5e04a7.tar.bz2 |
ada: Bug in computing local restrictions inherited from enclosing scopes.
In the function Local_Restrict.Active_Restriction, we traverse enclosing
scopes looking for a relevant Local_Restrictions aspect specification.
Fix a bug in this traversal.
gcc/ada/
* local_restrict.adb (Active_Restriction): When traversing scopes,
do not skip over a subprogram body.
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions