re PR ada/15608 (Bug box at sem_ch3.adb:8228)
2005-03-08 Ed Schonberg <schonberg@adacore.com> Javier Miranda <miranda@adacore.com> PR ada/15608 * sem_util.adb (Get_Task_Body_Procedure): Type may be the completion of a private type, in which case it is underlying_type that denotes the proper task. Also modified to use the new entity attribute that is directly available in the task type and task subtype entities (Build_Actual_Subtype_Of_Component): Handle properly multidimensional arrays when other dimensions than the first are constrained by discriminants of an enclosing record. (Insert_Explicit_Dereference): If the prefix is an indexed component or a combination of indexed and selected components, find ultimate entity and generate the appropriate reference for it, to suppress spurious warnings. (Note_Possible_Modification): If an entity name has no entity, return. (Is_Variable): A function call never denotes a variable. (Requires_Transient_Scope): For record types, recurse only on components, not on internal subtypes that may have been generated for constrained components. From-SVN: r96504
Showing
Please
register
or
sign in
to comment