public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/autopar_devel] [Ada] Use new API when creating a special SPARK heap entity
@ 2020-08-22 21:49 Giuliano Belinassi
0 siblings, 0 replies; only message in thread
From: Giuliano Belinassi @ 2020-08-22 21:49 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:21c8131b00aa7185fb66793c49b4d06c49f6d57d
commit 21c8131b00aa7185fb66793c49b4d06c49f6d57d
Author: Piotr Trojanek <trojanek@adacore.com>
Date: Thu Dec 12 23:19:46 2019 +0100
[Ada] Use new API when creating a special SPARK heap entity
2020-06-02 Piotr Trojanek <trojanek@adacore.com>
gcc/ada/
* lib-xref-spark_specific.adb (Create_Heap): use a new variant
of Name_Enter to directly converts String to Make_Id.
Diff:
---
gcc/ada/lib-xref-spark_specific.adb | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/gcc/ada/lib-xref-spark_specific.adb b/gcc/ada/lib-xref-spark_specific.adb
index 0ad704454f4..460752d4c7e 100644
--- a/gcc/ada/lib-xref-spark_specific.adb
+++ b/gcc/ada/lib-xref-spark_specific.adb
@@ -291,10 +291,10 @@ package body SPARK_Specific is
procedure Create_Heap is
begin
- Name_Len := Name_Of_Heap_Variable'Length;
- Name_Buffer (1 .. Name_Len) := Name_Of_Heap_Variable;
-
- Heap := Make_Defining_Identifier (Standard_Location, Name_Enter);
+ Heap :=
+ Make_Defining_Identifier
+ (Standard_Location,
+ Name_Enter (Name_Of_Heap_Variable));
Set_Ekind (Heap, E_Variable);
Set_Is_Internal (Heap, True);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-08-22 21:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-22 21:49 [gcc/devel/autopar_devel] [Ada] Use new API when creating a special SPARK heap entity Giuliano Belinassi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).