[Ada] Simplify expansion of array equality

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


Cleanup related to expansion of dispatching equality for GNATprove.
Semantics is unaffected

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

gcc/ada/

	* exp_ch4.adb (Test_Empty_Arrays): Simplify with Evolve_Or_Else;
	remove unnecessary call to Relocate_Node.
	(Test_Lengths_Correspond): Likewise.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.diff
Type: text/x-diff
Size: 2543 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20211109/a36c0166/attachment.bin>


More information about the Gcc-patches mailing list