aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.c
diff options
context:
space:
mode:
authorPiotr Trojanek <trojanek@adacore.com>2019-07-08 08:14:15 +0000
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>2019-07-08 08:14:15 +0000
commit56730418631c887e3c20f6529ed9399b80b50915 (patch)
treeb39f5553cad71fc6bba2bbd143afe85af0471d31 /gcc/function.c
parentf6d606c7e717b3c842b96a72c0afcc84b82b7c53 (diff)
downloadgcc-56730418631c887e3c20f6529ed9399b80b50915.zip
gcc-56730418631c887e3c20f6529ed9399b80b50915.tar.gz
gcc-56730418631c887e3c20f6529ed9399b80b50915.tar.bz2
[Ada] Set dummy Etype for the fake __HEAP entity in GNATprove
GNATprove represents reads and writes via pointers as operations on a fake __HEAP entity. This entity already had various properties set to dummy values (e.g. Scope set to Standard_Standard), so that it can be processed like other entities without crashing and not special-cased everywhere. Now it also has a dummy Etype, so it can be processed with Is_Single_Concurrent_Object. The modified code is only executed by GNATprove; frontend is not affected. 2019-07-08 Piotr Trojanek <trojanek@adacore.com> gcc/ada/ * lib-xref-spark_specific.adb (Create_Heap): Set dummy Etype for the fake __HEAP entity. From-SVN: r273216
Diffstat (limited to 'gcc/function.c')
0 files changed, 0 insertions, 0 deletions