diff options
author | Ed Schonberg <schonber@gnat.com> | 2001-10-10 22:46:39 +0000 |
---|---|---|
committer | Geert Bosch <bosch@gcc.gnu.org> | 2001-10-11 00:46:39 +0200 |
commit | c84700e7c77e92776dd951d8ce7e7e1efd0c0464 (patch) | |
tree | 3da698f23b9d27cbcac4d67493ad5d4b6dcab477 /gcc/cpplib.h | |
parent | d8d80dcd6ca6561c46d2724d0724f6ce5a74d6b6 (diff) | |
download | gcc-c84700e7c77e92776dd951d8ce7e7e1efd0c0464.zip gcc-c84700e7c77e92776dd951d8ce7e7e1efd0c0464.tar.gz gcc-c84700e7c77e92776dd951d8ce7e7e1efd0c0464.tar.bz2 |
einfo.adb (Write_Field19_Name): Body_Entity is also defined for a generic package.
* einfo.adb (Write_Field19_Name): Body_Entity is also defined for
a generic package.
* einfo.ads: Body_Entity is also defined for generic package.
Documentation change only
* exp_aggr.adb (Build_Array_Aggr_Code): When expanding an
others_choice for a discriminated component initialization,
convert discriminant references into the corresponding discriminals.
* exp_ch3.adb (Get_Simple_Init_Val): Add qualification to aggregate
only if original type is private and expression has to be wrapped
in a conversion.
* checks.adb:
(Apply_Constraint_Check): Do not perform length check
if expression is an aggregate with only an others_choice.
(Length_N_Cond): two references to the same in_parameter
(typically the discriminal in an init_proc) denote the same value.
Two useful optimization uncovered by bugfixes above.
From-SVN: r46165
Diffstat (limited to 'gcc/cpplib.h')
0 files changed, 0 insertions, 0 deletions