]> git.ipfire.org Git - thirdparty/gcc.git/commit
[Ada] Fix crash on array component with Default_Value
authorPiotr Trojanek <trojanek@adacore.com>
Mon, 27 Sep 2021 14:15:39 +0000 (16:15 +0200)
committerPierre-Marie de Rodat <derodat@adacore.com>
Mon, 11 Oct 2021 13:38:09 +0000 (13:38 +0000)
commit07118f4832ab8a2eaa1cb564cf8d852a3c4b175c
tree21aae44816f544ab7c7de4b4e226a3489ed27fa7
parent3e10307b9a76b0ba4a7b1f65518c015df6bf9e90
[Ada] Fix crash on array component with Default_Value

gcc/ada/

* exp_util.adb (Inside_Init_Proc): Simplify.
* sem_aggr.adb (Resolve_Record_Aggregate): Fix style.
* sem_util.adb (Compile_Time_Constraint_Error): Guard against
calling Corresponding_Concurrent_Type with an array type entity.
gcc/ada/exp_util.adb
gcc/ada/sem_aggr.adb
gcc/ada/sem_util.adb