sem_ch8.adb (Use_One_Type): when checking which of two use_type clauses in related...
commit3ea52b2e24bf9ee4b7da044fb0b6af84ac1c5e36
authorEd Schonberg <schonberg@adacore.com>
Fri, 22 Aug 2008 09:03:16 +0000 (22 11:03 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Fri, 22 Aug 2008 09:03:16 +0000 (22 11:03 +0200)
treeaab83e261286b8114a757165e1475884f7fee1a2
parent5d41bf558bdf241357c441807d1e395c283268cd
sem_ch8.adb (Use_One_Type): when checking which of two use_type clauses in related units is redundant...

2008-08-22  Ed Schonberg  <schonberg@adacore.com>

* sem_ch8.adb (Use_One_Type): when checking which of two use_type
clauses in related units is redundant, if one of the units is a package
instantiation, use its instance_spec to determine which unit is the
ancestor of the other.

From-SVN: r139430
gcc/ada/sem_ch8.adb