]> git.ipfire.org Git - thirdparty/gcc.git/commit
[Ada] Fix link from body protected entry implementation to source code
authorPiotr Trojanek <trojanek@adacore.com>
Mon, 8 Feb 2021 22:39:24 +0000 (23:39 +0100)
committerPierre-Marie de Rodat <derodat@adacore.com>
Fri, 7 May 2021 09:29:19 +0000 (05:29 -0400)
commit7c82737c72c030bdf9724ba5201b96824e689765
treeed57013d5f603f8772245087fdcb7bbf4db09e25
parent9fd8b9fa38ea47692abaf886ba2c30053e71623c
[Ada] Fix link from body protected entry implementation to source code

gcc/ada/

* einfo.ads: Move Corresponding_Protected_Entry...
* sinfo.ads: ... here.
* exp_ch9.adb (Build_Entry_Body): Link procedure and entry
bodies.
* gen_il-fields.ads (Opt_Field_Enum): Add
Corresponding_Entry_Body field to nodes; remove
Corresponding_Protected_Entry field from entities.
* gen_il-gen-gen_entities.adb (Gen_Entities): Remove
Corresponding_Protected_Entry field from E_Void and
E_Subprogram_Body.
* gen_il-gen-gen_nodes.adb (Gen_Nodes): Add
Corresponding_Entry_Body field to N_Subprogram_Body.
* sem_ch6.adb (Analyze_Subprogram_Specification): Remove
manipulation of Ekind and Corresponding_Protected_Entry added as
part of the support for varsize-nodes.
gcc/ada/einfo.ads
gcc/ada/exp_ch9.adb
gcc/ada/gen_il-fields.ads
gcc/ada/gen_il-gen-gen_entities.adb
gcc/ada/gen_il-gen-gen_nodes.adb
gcc/ada/sem_ch6.adb
gcc/ada/sinfo.ads