diff options
author | Piotr Trojanek <trojanek@adacore.com> | 2024-01-04 15:01:55 +0100 |
---|---|---|
committer | Marc Poulhiès <poulhies@adacore.com> | 2024-05-06 11:11:32 +0200 |
commit | 0f3324fd8ba91b16905e4b03eaf1e35a728f1027 (patch) | |
tree | 5f2d8aa076833efe7000367211aabd371210138a /libgcc | |
parent | 911d921759e4a32bac81016b2dda1e26147ba5d8 (diff) | |
download | gcc-0f3324fd8ba91b16905e4b03eaf1e35a728f1027.zip gcc-0f3324fd8ba91b16905e4b03eaf1e35a728f1027.tar.gz gcc-0f3324fd8ba91b16905e4b03eaf1e35a728f1027.tar.bz2 |
ada: Support writable parameters in Depends with side-effects
Functions with side-effects can modify writable parameters of mode IN,
so these parameters must be allowed to appear in their Depends aspects.
gcc/ada/
* sem_prag.adb (Find_Role): Handle functions with side-effects
like procedures.
Diffstat (limited to 'libgcc')
0 files changed, 0 insertions, 0 deletions