[Ada] Spurious redundant use clause warning
authorArnaud Charlet <charlet@adacore.com>
Fri, 5 Jun 2020 18:45:23 +0000 (14:45 -0400)
committerPierre-Marie de Rodat <derodat@adacore.com>
Thu, 16 Jul 2020 09:17:59 +0000 (05:17 -0400)
commitc7641c228af7c53b5f2ab5ef047f1e36f6a6f3c5
treed73fe22866c97a5b6120b15931175b8c813464ec
parentd9206abba7e6ac0328cafb3f3556c17220101024
[Ada] Spurious redundant use clause warning

gcc/ada/

* sem_ch8.adb (Note_Redundant_Use): Add missing warning tag.
Do not check for redundant use clauses in predefined units to avoid
misleading warnings that may occur as part of a rtsfind load.
gcc/ada/sem_ch8.adb