Skip to content
Snippets Groups Projects
Commit 13112239 authored by Ed Schonberg's avatar Ed Schonberg Committed by Pierre-Marie de Rodat
Browse files

[Ada] Ongoing work for AI12-0212: container aggregates

gcc/ada/

	* exp_aggr.adb (Build_Siz_Exp): new function, subsidiary of
	Expand_Container_Aggregate, to create an expression to be used
	in the dynamic allocation of a container with a single container
	element association.
	(Add_Range): Handle static bounds of ranges over enumerations.
	(Expand_Container_Aggregate): Add declaration for size
	expression when needed, and use it in container object
	declaration for container.
parent 213c9dc7
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