]> git.ipfire.org Git - thirdparty/gcc.git/commit
[Ada] Fix handling of slices with subtype names
authorPiotr Trojanek <trojanek@adacore.com>
Fri, 27 Aug 2021 15:48:15 +0000 (17:48 +0200)
committerPierre-Marie de Rodat <derodat@adacore.com>
Mon, 4 Oct 2021 08:45:07 +0000 (08:45 +0000)
commitf9974930bcb21fb436217972db38d04ab88eb8c4
treeac7f0e3e8caf1d600c92d48e93808d4649d6ba88
parent44bfdde1e96167f07b86b0dcd773931353a98ea7
[Ada] Fix handling of slices with subtype names

gcc/ada/

* sem_res.adb (Resolve_Slice): Fix application of range checks
to slice range given as a subtype name.
gcc/ada/sem_res.adb