* gimplify.c (gimplify_init_constructor) <RECORD,UNION,ARRAY types>:
Arrange for the temporary captures of components overlapping the lhs to happen before the lhs is possibly cleared. testsuite/ * gnat.dg/self_aggregate_with_zeros.adb: New test. * gnat.dg/self_aggregate_with_array.adb: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116300 138bc75d-0d04-0410-961f-82ee72b054a4
Showing
- gcc/ChangeLog 6 additions, 0 deletionsgcc/ChangeLog
- gcc/gimplify.c 15 additions, 10 deletionsgcc/gimplify.c
- gcc/testsuite/ChangeLog 5 additions, 0 deletionsgcc/testsuite/ChangeLog
- gcc/testsuite/gnat.dg/self_aggregate_with_array.adb 21 additions, 0 deletionsgcc/testsuite/gnat.dg/self_aggregate_with_array.adb
- gcc/testsuite/gnat.dg/self_aggregate_with_zeros.adb 19 additions, 0 deletionsgcc/testsuite/gnat.dg/self_aggregate_with_zeros.adb
Loading
Please register or sign in to comment