[Ada] Small tweak to special handling of private index types
authorEric Botcazou <ebotcazou@adacore.com>
Mon, 20 Jan 2020 10:24:07 +0000 (11:24 +0100)
committerPierre-Marie de Rodat <derodat@adacore.com>
Thu, 4 Jun 2020 09:11:02 +0000 (05:11 -0400)
commitd46b330ddc1dc1c16e9638e144db64df7365a820
tree4375ec4035eb4f2051b37b96b833329798c276ab
parent528576de0bd3bf7154952d9b5e7ced2b4ed7f038
[Ada] Small tweak to special handling of private index types

2020-06-04  Eric Botcazou  <ebotcazou@adacore.com>

gcc/ada/

* sem_ch3.adb (Array_Type_Declaration): Apply special handling
of private index types to generic packages and restrict it to
index types defined in the current scope.
gcc/ada/sem_ch3.adb