exp_ch9.adb (Update_Prival_Types): Simplify code for entity references that are priva...
authorEd Schonberg <schonberg@adacore.com>
Tue, 31 Oct 2006 17:55:21 +0000 (18:55 +0100)
committerArnaud Charlet <charlet@gcc.gnu.org>
Tue, 31 Oct 2006 17:55:21 +0000 (18:55 +0100)
commitae5dd59d043919bf07714293c31d93281cebfb30
treeff764f8779ba95cc1ff88a1a880a365939efa20f
parent02822a92a4880fe678967713c9d4988fe7ca9e55
exp_ch9.adb (Update_Prival_Types): Simplify code for entity references that are private components of the...

2006-10-31  Ed Schonberg  <schonberg@adacore.com>

        * exp_ch9.adb (Update_Prival_Types): Simplify code for entity
references that are private components of the protected object.
(Build_Barrier_Function): Set flag Is_Entry_Barrier_Function
(Update_Prival_Subtypes): Add explicit Process argument to Traverse_Proc
instantiation to deal with warnings.
(Initialize_Protection): If expression for priority is non-static, use
System_Priority as its expected type, in case the expression has not
been analyzed yet.

From-SVN: r118261
gcc/ada/exp_ch9.adb