ada: Crash on loop in dispatching conditional entry call
commitdeba689502bb274e94f5a37a96d3fe582041e3b1
authorJavier Miranda <miranda@adacore.com>
Mon, 20 Mar 2023 19:24:17 +0000 (20 19:24 +0000)
committerMarc Poulhiès <poulhies@adacore.com>
Fri, 26 May 2023 07:29:17 +0000 (26 09:29 +0200)
tree883b7f804b662bec1899ee0590edd2248387fe54
parente3fe66ea55761315879985fe9b03989e9033e734
ada: Crash on loop in dispatching conditional entry call

gcc/ada/

* exp_ch9.adb
(Expand_N_Conditional_Entry_Call): Factorize code to avoid
duplicating subtrees; required to avoid problems when the copied
code has implicit labels.
* sem_util.ads (New_Copy_Separate_List): Removed.
(New_Copy_Separate_Tree): Removed.
* sem_util.adb (New_Copy_Separate_List): Removed.
(New_Copy_Separate_Tree): Removed.
gcc/ada/exp_ch9.adb
gcc/ada/sem_util.adb
gcc/ada/sem_util.ads