aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/inline.adb
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2023-04-21 18:37:12 +0200
committerMarc Poulhiès <poulhies@adacore.com>2023-06-13 09:31:44 +0200
commitd18dd43c1fdfdd9efe5ade19368f3776a4fd8e3e (patch)
tree618066b885be6563ec0af4503a46d5295c15efb0 /gcc/ada/inline.adb
parentae3fd5e8a75bf7cf18a98b0d0545ade976c1ec05 (diff)
downloadgcc-d18dd43c1fdfdd9efe5ade19368f3776a4fd8e3e.zip
gcc-d18dd43c1fdfdd9efe5ade19368f3776a4fd8e3e.tar.gz
gcc-d18dd43c1fdfdd9efe5ade19368f3776a4fd8e3e.tar.bz2
ada: Small housekeeping work in expansion of extension aggregates
This avoids repeatedly calling Unqualify on the same node, removes a dead call to Generate_Finalization_Actions, a redundant setting of Assignment_OK and reuses a local variable more consistently. No functional changes. gcc/ada/ * exp_aggr.adb (Build_Record_Aggr_Code): Add new variable Ancestor_Q to store the result of Unqualify on Ancestor. Remove the dead call to Generate_Finalization_Actions in the case of another aggregate as ancestor part. Remove the redundant setting of Assignment_OK. Use Init_Typ in lieu of Etype (Ancestor) more consistently.
Diffstat (limited to 'gcc/ada/inline.adb')
0 files changed, 0 insertions, 0 deletions