[Ada] Fix missing check on slice with a subtype indication
authorPiotr Trojanek <trojanek@adacore.com>
Thu, 26 Aug 2021 15:35:27 +0000 (17:35 +0200)
committerPierre-Marie de Rodat <derodat@adacore.com>
Mon, 4 Oct 2021 08:45:06 +0000 (08:45 +0000)
commit44bfdde1e96167f07b86b0dcd773931353a98ea7
tree5e04f97813c84e4889ef1285c2372860fd1aaa72
parent263e2936305cb3b995db8f86ce8c60579caeeda3
[Ada] Fix missing check on slice with a subtype indication

gcc/ada/

* sem_res.adb (Resolve_Slice): Handle range given as a subtype
indication.
gcc/ada/sem_res.adb