[Ada] Default_Initial_Condition check done after extended return with init
authorArnaud Charlet <charlet@adacore.com>
Mon, 4 May 2020 08:56:52 +0000 (04:56 -0400)
committerPierre-Marie de Rodat <derodat@adacore.com>
Mon, 6 Jul 2020 11:34:50 +0000 (07:34 -0400)
commit37e43fe13e163799618f5e2eb8f84cdcfa4e4f3b
treea40772d2465b08493524ae9c33b51c0b4bf7b94c
parente6f323372efa29091cf052a276c15b9e6ebc00ae
[Ada] Default_Initial_Condition check done after extended return with init

gcc/ada/

* par-ch6.adb (P_Return_Object_Declaration): Set
Has_Init_Expression flag.
gcc/ada/par-ch6.adb