aboutsummaryrefslogtreecommitdiff
path: root/libcpp
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2024-05-30 12:46:57 +0200
committerMarc Poulhiès <poulhies@adacore.com>2024-06-21 10:34:20 +0200
commit2b55cc520cf51089d961414a78e6e5371f3c3e20 (patch)
tree3e5907cdc4c2d70d39cd338dd4c7085baaf0961c /libcpp
parentaa34d34f753cee8974af6942e0603dfc2f8ea160 (diff)
downloadgcc-2b55cc520cf51089d961414a78e6e5371f3c3e20.zip
gcc-2b55cc520cf51089d961414a78e6e5371f3c3e20.tar.gz
gcc-2b55cc520cf51089d961414a78e6e5371f3c3e20.tar.bz2
ada: Fix missing index check with declare expression
The Do_Range_Check flag is properly set on the Expression of the EWA node built for the declare expression, so this instructs Generate_Index_Checks to look into this Expression. gcc/ada/ * checks.adb (Generate_Index_Checks): Add specific treatment for index expressions that are N_Expression_With_Actions nodes.
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions