sem_ch12.adb (Instantiate_Object): If the analysis of the actual parameter reported...
authorJavier Miranda <miranda@adacore.com>
Tue, 15 Mar 2005 16:12:36 +0000 (17:12 +0100)
committerArnaud Charlet <charlet@gcc.gnu.org>
Tue, 15 Mar 2005 16:12:36 +0000 (17:12 +0100)
commit89167cad83a461fd0c74d6df3a96a5cd28507469
tree3a23f1539efc3ed1acfe979864e4f48f83643ec3
parentf5905c0beb4325741c0f1cbcadbf1546b77a89dc
sem_ch12.adb (Instantiate_Object): If the analysis of the actual parameter reported some error we immediately return.

2005-03-08  Javier Miranda  <miranda@adacore.com>
    Ed Schonberg  <schonberg@adacore.com>

* sem_ch12.adb (Instantiate_Object): If the analysis of the actual
parameter reported some error we immediately return. This improves the
behaviour of the frontend in case of errors.
(Install_Parent, Remove_Parent): Introduce new flag
Parent_Unit_Visible, to preserve the proper visibility of the ultimate
ancestor of a generic child unit, when the child is being instantiated.
(Inline_Instance_Body): If we are compiling the private
part or the body of a child unit, restore the proper visibility of the
parents after compiling the instance body.

From-SVN: r96503
gcc/ada/sem_ch12.adb