[Ada] Remove name constant used by GNATprove but not by GNAT

Message ID 20220111133235.GA748944@adacore.com
State Committed
Commit c441162d56974eb557f2ed3cab25c6107411ac62
Headers
Series [Ada] Remove name constant used by GNATprove but not by GNAT |

Commit Message

Pierre-Marie de Rodat Jan. 11, 2022, 1:32 p.m. UTC
  Revert recent removal of Name_Rpc, which is needed by GNATprove to
detect calls to potentially blocking subprograms.

Tested on x86_64-pc-linux-gnu, committed on trunk

gcc/ada/

	* snames.ads-tmpl: Restore Name_Rpc.
  

Patch

diff --git a/gcc/ada/snames.ads-tmpl b/gcc/ada/snames.ads-tmpl
--- a/gcc/ada/snames.ads-tmpl
+++ b/gcc/ada/snames.ads-tmpl
@@ -336,6 +336,7 @@  package Snames is
    Name_uCall                          : constant Name_Id := N + $;
    Name_RCI_Name                       : constant Name_Id := N + $;
    Name_Receiver                       : constant Name_Id := N + $;
+   Name_Rpc                            : constant Name_Id := N + $;
    Name_Subp_Id                        : constant Name_Id := N + $;
    Name_Operation                      : constant Name_Id := N + $;
    Name_Argument                       : constant Name_Id := N + $;