diff options
author | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-10-15 13:56:15 +0000 |
---|---|---|
committer | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-10-15 13:56:15 +0000 |
commit | 16ce94adb5233c061ba5be0d33fe93ec0213d9c7 (patch) | |
tree | f5352926499a32769a75c12a43b3b181303cd32c /gcc/tree-optimize.c | |
parent | 038b66aed72fb1b9ecbdb6a8328682ec11511c33 (diff) | |
download | gcc-16ce94adb5233c061ba5be0d33fe93ec0213d9c7.tar.gz |
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).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129331 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-optimize.c')
0 files changed, 0 insertions, 0 deletions