]> gcc.gnu.org Git - gcc.git/commit - gcc/ada/sem_aggr.adb
sem_aggr.adb (Resolve_Record_Aggregate): In the case of a box association for an...
authorGary Dismukes <dismukes@adacore.com>
Mon, 15 Oct 2007 13:56:15 +0000 (15:56 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Mon, 15 Oct 2007 13:56:15 +0000 (15:56 +0200)
commitf91e80203a5d20cfb22bc9be83ba43614e624b4e
treef5352926499a32769a75c12a43b3b181303cd32c
parent3d63f8c9a15ccf99d996b9d039ff477be978d0d8
sem_aggr.adb (Resolve_Record_Aggregate): In the case of a box association for an access component...

2007-10-15  Gary Dismukes  <dismukes@adacore.com>

* sem_aggr.adb (Resolve_Record_Aggregate): In the case of a box
association for an access component, add an association with null as
the expression. Remove testing for array subtypes and the setting in
that case of Ctyp to the array component type, which prevented proper
inclusion of an association for null-initialized arrays. Collapse
condition that tests for array subtypes into just a test of
Is_Partially_Initialized_Type (which already covers arrays anyway).

From-SVN: r129331
gcc/ada/sem_aggr.adb
This page took 0.057555 seconds and 5 git commands to generate.