[Ada] Simplify expansion of array equality
authorPiotr Trojanek <trojanek@adacore.com>
Tue, 26 Oct 2021 16:05:43 +0000 (18:05 +0200)
committerPierre-Marie de Rodat <derodat@adacore.com>
Tue, 9 Nov 2021 09:44:48 +0000 (09:44 +0000)
commit02ca2184cdabf79c8c8353b7d464f15d26d1f24f
tree99bc369ba64c11b14f1e3ea60e42f6cf39a05cdf
parentf4665dc4fb511a40a104f1986488861fee8b24f7
[Ada] Simplify expansion of array equality

gcc/ada/

* exp_ch4.adb (Test_Empty_Arrays): Simplify with Evolve_Or_Else;
remove unnecessary call to Relocate_Node.
(Test_Lengths_Correspond): Likewise.
gcc/ada/exp_ch4.adb