2008-08-22 Ed Schonberg <schonberg@adacore.com>
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 22 Aug 2008 09:03:16 +0000 (09:03 +0000)
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 22 Aug 2008 09:03:16 +0000 (09:03 +0000)
commit76efb4ee091abe9b9eb11187e49b4caa4aefaa91
treeaab83e261286b8114a757165e1475884f7fee1a2
parentb0bcf22799430ad97e11ade6d69002ab24b3b8b1
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@139430 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ada/sem_ch8.adb