Commit cd93d2d8 by Arnaud Charlet Committed by Pierre-Marie de Rodat

[Ada] Reduce emitted code size in CCG for aggregate assignment

2019-07-04  Arnaud Charlet  <charlet@adacore.com>

gcc/ada/

	* exp_aggr.adb (Check_Component): Take into account type
	conversions.

From-SVN: r273046
parent b7d5159e
2019-07-04 Arnaud Charlet <charlet@adacore.com>
* exp_aggr.adb (Check_Component): Take into account type
conversions.
2019-07-04 Dmitriy Anisimkov <anisimko@adacore.com> 2019-07-04 Dmitriy Anisimkov <anisimko@adacore.com>
* doc/gnat_ugn/platform_specific_information.rst: Document * doc/gnat_ugn/platform_specific_information.rst: Document
......
...@@ -5549,7 +5549,8 @@ package body Exp_Aggr is ...@@ -5549,7 +5549,8 @@ package body Exp_Aggr is
or else (Nkind (Comp) = N_Selected_Component or else (Nkind (Comp) = N_Selected_Component
and then Check_Component (Prefix (Comp))) and then Check_Component (Prefix (Comp)))
or else (Nkind (Comp) = N_Unchecked_Type_Conversion or else (Nkind_In (Comp, N_Unchecked_Type_Conversion,
N_Type_Conversion)
and then Check_Component (Expression (Comp))); and then Check_Component (Expression (Comp)));
end Check_Component; end Check_Component;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment