]> gcc.gnu.org Git - gcc.git/commit
[Ada] Crash in tagged type constructor with task components
authorJavier Miranda <miranda@adacore.com>
Wed, 8 Apr 2020 13:43:58 +0000 (09:43 -0400)
committerGiuliano Belinassi <giuliano.belinassi@usp.br>
Mon, 17 Aug 2020 16:13:13 +0000 (13:13 -0300)
commit76432a9df8098de47108eab73f1114bd4236fa7d
tree04ef957a18ae05463bc76791d35b60a9464cec87
parent851e9e3f80f54a2541c9e4e17bac874886b90ed3
[Ada] Crash in tagged type constructor with task components

2020-06-16  Javier Miranda  <miranda@adacore.com>

gcc/ada/

* exp_ch6.adb (BIP_Suffix_Kind, Check_BIP_Actuals,
Is_Build_In_Place_Entity): New subprograms.
(Make_Build_In_Place_Call_In_Allocator,
Make_Build_In_Place_Call_In_Anonymous_Context,
Make_Build_In_Place_Call_In_Assignment,
Make_Build_In_Place_Call_In_Object_Declaration): Add assertions.
(Needs_BIP_Task_Actuals): Add missing support for thunks.
(Expand_Actuals): Ensure that the BIP call has available an
activation chain and the _master variable.
* exp_ch9.adb (Find_Enclosing_Context): Initialize the list of
declarations of empty blocks when the _master variable must be
declared and the list was not available.
gcc/ada/exp_ch6.adb
gcc/ada/exp_ch9.adb
This page took 0.056007 seconds and 6 git commands to generate.