2019-07-04 Arnaud Charlet <charlet@adacore.com>
gcc/ada/
* exp_aggr.adb (Check_Component): Take into account type
conversions.
From-SVN: r273046
+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>
* doc/gnat_ugn/platform_specific_information.rst: Document
or else (Nkind (Comp) = N_Selected_Component
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)));
end Check_Component;