]> git.ipfire.org Git - thirdparty/gcc.git/commit
ada: Handle new Controlling_Tag format when converting to SCIL
authorGhjuvan Lacambre <lacambre@adacore.com>
Thu, 23 Feb 2023 14:20:54 +0000 (15:20 +0100)
committerMarc Poulhiès <poulhies@adacore.com>
Fri, 26 May 2023 07:29:16 +0000 (09:29 +0200)
commit0e1bba09231634176893908f4402d57ef21477f8
tree9e9e5cb09d6bc4bae51474065cb3aa926441686e
parentc8def50f5cb208c29591cec14609f33d2dec92eb
ada: Handle new Controlling_Tag format when converting to SCIL

This commit fixes two CodePeer crashes that were introduced when the
format of the controlling tag changed.

gcc/ada/

* exp_disp.adb (Expand_Dispatching_Call): Handle new Controlling_Tag.
* sem_scil.adb (Check_SCIL_Node): Treat N_Object_Renaming_Declaration as
N_Object_Declaration.
gcc/ada/exp_disp.adb
gcc/ada/sem_scil.adb