]> git.ipfire.org Git - thirdparty/gcc.git/commit
ada: Remove last call to Preanalyze_And_Resolve from Exp_Aggr
authorEric Botcazou <ebotcazou@adacore.com>
Fri, 29 Nov 2024 08:04:09 +0000 (09:04 +0100)
committerMarc Poulhiès <dkm@gcc.gnu.org>
Fri, 13 Dec 2024 08:36:01 +0000 (09:36 +0100)
commit78b8a597316490105995f636f00c972235ac6237
tree550d0faa2013ca02e20b875b83dfe5f2938ababa
parent5b30245800b1657f6c29212ca843c43bbfcffd20
ada: Remove last call to Preanalyze_And_Resolve from Exp_Aggr

All the expressions are now at least preanalyzed in a non-iterated context,
so we do not need to redo it in Aggr_Assignment_OK_For_Backend, given that
Is_OK_Aggregate explicitly rejects iterated component associations.

gcc/ada/ChangeLog:

* exp_aggr.adb (Aggr_Assignment_OK_For_Backend): Do not call again
Preanalyze_And_Resolve on the expression.
gcc/ada/exp_aggr.adb