Skip to content
Snippets Groups Projects
Commit 85d89e76 authored by Olivier Hainque's avatar Olivier Hainque Committed by Olivier Hainque
Browse files

gimplify.c (gimplify_init_constructor): Arrange for the temporary captures of...

gimplify.c (gimplify_init_constructor): Arrange for the temporary captures of components overlapping the lhs to happen...

	* 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.

From-SVN: r116300
parent c5d43417
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment