[Ada] Spurious ineffective with clause warnings on use type clause
authorJustin Squirek <squirek@adacore.com>
Fri, 17 Jan 2020 14:10:43 +0000 (09:10 -0500)
committerPierre-Marie de Rodat <derodat@adacore.com>
Wed, 3 Jun 2020 10:01:48 +0000 (06:01 -0400)
commit48b185bd015b72e43736e79887afe31296ae5fe2
treec86ba028a29b8e84e198380e8c374567754445ca
parentdca8f39d62c4e9d54016a5f86c09906408b58e4e
[Ada] Spurious ineffective with clause warnings on use type clause

2020-06-03  Justin Squirek  <squirek@adacore.com>

gcc/ada/

* sem_ch10.adb (Process_Body_Clauses): Add loop to interate
through all prefixes in a use_type clause so that all packages
in the expanded name get examined for effectiveness.
gcc/ada/sem_ch10.adb