This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r262771 - in /trunk/gcc/ada: ChangeLog lib-xref...
- From: pmderodat at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 17 Jul 2018 08:05:54 -0000
- Subject: r262771 - in /trunk/gcc/ada: ChangeLog lib-xref...
Author: pmderodat
Date: Tue Jul 17 08:05:54 2018
New Revision: 262771
URL: https://gcc.gnu.org/viewcvs?rev=262771&root=gcc&view=rev
Log:
[Ada] Attach the special GNATprove HEAP entity to the Standard package
In GNATprove mode we use frontend cross-references to synthesize the
Global contract of subprograms with SPARK_Mode => Off and represent
a read/write via a pointer as a read/write of a special entity called
HEAP. This entity is now attached to the Standard package, so that we can
safely check the Ekind of its Scope, which now happens in Scope_Within.
This only affects GNATprove, so no frontend test provided.
2018-07-17 Piotr Trojanek <trojanek@adacore.com>
gcc/ada/
* lib-xref-spark_specific.adb (Create_Heap): Attach the HEAP entity to
the Standard package.
Modified:
trunk/gcc/ada/ChangeLog
trunk/gcc/ada/lib-xref-spark_specific.adb