[Ada] Assert failure on invalid Variable_Indexing
authorArnaud Charlet <charlet@adacore.com>
Fri, 15 May 2020 09:41:10 +0000 (05:41 -0400)
committerPierre-Marie de Rodat <derodat@adacore.com>
Tue, 7 Jul 2020 09:27:00 +0000 (05:27 -0400)
commita21df0b6a46a7807534c2096bba1642e74e1fbd3
treebbf5c560158ce32b5b752af9a12deb68203db7ad
parenteada42206385b31baa5bb62d78115b2ac2730e7b
[Ada] Assert failure on invalid Variable_Indexing

gcc/ada/

* sem_ch4.adb (Try_Container_Indexing): Add ??? comment. Protect
against malformed tree in case of errors.
gcc/ada/sem_ch4.adb