checks.adb (Build_Discriminant_Checks): If the expression being checks is an aggregat...
authorEd Schonberg <schonberg@adacore.com>
Wed, 15 Feb 2006 09:36:35 +0000 (10:36 +0100)
committerArnaud Charlet <charlet@gcc.gnu.org>
Wed, 15 Feb 2006 09:36:35 +0000 (10:36 +0100)
commit86ac5e79ab137815e463c0b46495551c641e33d8
tree2379d905d5a4d1e77ca8bcbcd41a68d2a05d0a4c
parent32c65fc062e4ad4f981e4db110436a23f3c8e4f0
checks.adb (Build_Discriminant_Checks): If the expression being checks is an aggregate retrieve the values of its...

2006-02-13  Ed Schonberg  <schonberg@adacore.com>
    Thomas Quinot  <quinot@adacore.com>

* checks.adb (Build_Discriminant_Checks): If the expression being
checks is an aggregate retrieve the values of its discriminants to
generate the check, rather than creating a temporary and a reference
to it.
(Apply_Access_Check): Rewritten to handle new Is_Known_Null flag
(Install_Null_Excluding_Check): Ditto
(Selected_Length_Checks): Build actual subtype for the original Ck_Node,
not for the renamed object, so that the actual itype is attached in the
proper context.

From-SVN: r111052
gcc/ada/checks.adb