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

[Ada] Spurious error with component of unchecked_union type

gcc/ada/

	* exp_ch4.adb (Unconstrained_UU_In_Component_Declaration): A
	component declaration whose subtype indication is an entity name
	without an explicit constraint is an Unchecked_Union type only
	if the entity has an unconstrained nominal subtype (record type
	or private type) whose parent type is an Unchecked_Union.
parent a3e2584e
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