]> git.ipfire.org Git - thirdparty/gcc.git/commit
[Ada] Improve checking for invalid index values when accessing array elements
authorSteve Baird <baird@adacore.com>
Mon, 16 Aug 2021 23:41:40 +0000 (16:41 -0700)
committerPierre-Marie de Rodat <derodat@adacore.com>
Mon, 4 Oct 2021 08:45:02 +0000 (08:45 +0000)
commit1d65c80d76996f49fce110ad763a1393a49536f7
tree9c13067d6aed9791e4e63ddc9d012451a1b0bf08
parent51d9ef7747b2dc439f7456303f0784faf5cdb1d3
[Ada] Improve checking for invalid index values when accessing array elements

gcc/ada/

* exp_ch4.adb (Expand_N_Indexed_Component): The two improvements
described above.
gcc/ada/exp_ch4.adb