exp_ch4.adb (Has_Unconstrained_UU_Component): Use the base type in order to retrieve...
authorEd Schonberg <schonberg@adacore.com>
Tue, 29 Mar 2005 16:14:44 +0000 (18:14 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Tue, 29 Mar 2005 16:14:44 +0000 (18:14 +0200)
commit57848bf789f92b5787fef0249c8d7254b02e5825
tree7b11ccad15955ffe8d3565723295270842377061
parentdebe0ab674d54dbe2df6358be39f56143e00ca8e
exp_ch4.adb (Has_Unconstrained_UU_Component): Use the base type in order to retrieve the component list of the type...

2005-03-29  Ed Schonberg  <schonberg@adacore.com>

* exp_ch4.adb (Has_Unconstrained_UU_Component): Use the base type in
order to retrieve the component list of the type, before examining
individual components.

* sem_type.adb (Covers): Types are compatible if one is the base type
of the other, even though their base types might differ when private
views are involved.

From-SVN: r97170
gcc/ada/exp_ch4.adb
gcc/ada/sem_type.adb