[Ada] Refine type in expansion of array equality

Pierre-Marie de Rodat derodat@adacore.com
Tue Nov 9 09:46:02 GMT 2021


Code cleanup related to expansion of predefined equality for GNATprove;
semantics is unaffected.

Tested on x86_64-pc-linux-gnu, committed on trunk

gcc/ada/

	* exp_ch4.adb (Handle_One_Dimension): Parameter N must be always
	positive, because it is translated into expression of 'First and
	'Last.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.diff
Type: text/x-diff
Size: 684 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20211109/8dfee7f5/attachment.bin>


More information about the Gcc-patches mailing list