[Ada] Fix spurious error on instantiation with Text_IO name
commitffbc891aaa97892303bded2b1c07b2bf6034a679
authorEric Botcazou <ebotcazou@adacore.com>
Tue, 7 Dec 2021 21:10:53 +0000 (7 22:10 +0100)
committerPierre-Marie de Rodat <derodat@adacore.com>
Thu, 6 Jan 2022 17:11:36 +0000 (6 17:11 +0000)
tree5bc35ec8d3c58ab35fa371e18b8bf286a0a92ca3
parent5bad97d7445d679921e87bc0f94286c3ade02d27
[Ada] Fix spurious error on instantiation with Text_IO name

gcc/ada/

* sem_ch8.adb (Analyze_Package_Renaming): Do not check for Text_IO
special units when the name of the renaming is a generic instance,
which is the case for package instantiations in the GNAT model.
gcc/ada/sem_ch8.adb