]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR ada/15608 (Bug box at sem_ch3.adb:8228)
authorEd Schonberg <schonberg@adacore.com>
Tue, 15 Mar 2005 16:12:58 +0000 (17:12 +0100)
committerArnaud Charlet <charlet@gcc.gnu.org>
Tue, 15 Mar 2005 16:12:58 +0000 (17:12 +0100)
commit482a63fb779bb83dbe758cbdafc72ee5956a8a97
tree4def8f97f4a7c80ada69fda1a85cba3939d9c8ab
parent89167cad83a461fd0c74d6df3a96a5cd28507469
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
gcc/ada/sem_util.adb