]> git.ipfire.org Git - thirdparty/gcc.git/commit
ada: Propagate resolution status from Resolve_Iterated_Component_Association
authorEric Botcazou <ebotcazou@adacore.com>
Tue, 15 Oct 2024 19:41:45 +0000 (21:41 +0200)
committerMarc Poulhiès <dkm@gcc.gnu.org>
Mon, 4 Nov 2024 15:57:58 +0000 (16:57 +0100)
commit56ea463808d47cc8bf342b32125e793cfcde472d
tree280f56b194450ff56fc314d517234c087a8c2187
parent4fbfd9e686eeb02466581a87f151dfe20f140f13
ada: Propagate resolution status from Resolve_Iterated_Component_Association

The resolution status of Resolve_Aggr_Expr is lost when the routine is
invoked indirectly from Resolve_Iterated_Component_Association.

gcc/ada/ChangeLog:

* sem_aggr.adb (Resolve_Iterated_Component_Association): Change to
function returning Boolean and return the result of the call made
to Resolve_Aggr_Expr.
(Resolve_Array_Aggregate): Return failure status if the call to
Resolve_Iterated_Component_Association returns false.
gcc/ada/sem_aggr.adb