]> git.ipfire.org Git - thirdparty/gcc.git/commit
ada: Small housekeeping work in Exp_Aggr
authorEric Botcazou <ebotcazou@adacore.com>
Thu, 12 Dec 2024 12:00:14 +0000 (13:00 +0100)
committerMarc Poulhiès <dkm@gcc.gnu.org>
Mon, 6 Jan 2025 09:14:48 +0000 (10:14 +0100)
commite4ed78faa3eb0f6b9b28d4491c22e5edb39339bf
tree95038239e4962185fc2b4933c0e284983764577b
parent3861ac19e8dac9915c6022dbaa64bd974ece6000
ada: Small housekeeping work in Exp_Aggr

This moves a few declarations around and tweaks a few comments.

gcc/ada/ChangeLog:

* exp_aggr.adb (Case_Table_Type): Fix reference in comment.
(In_Place_Assign_OK): Move declaration around.
(Is_Build_In_Place_Aggregate_Return): Likewise and adjust.
(Expand_Array_Aggregate): Streamline for the sake of consistency.
(Aggr_Assignment_OK_For_Backend): Remove reference to Gigi/gcc.
(Backend_Processing_Possible): Likewise.
(Expand_Array_Aggregate): Add comment.
gcc/ada/exp_aggr.adb