aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/table.adb
diff options
context:
space:
mode:
authorYannick Moy <moy@adacore.com>2019-08-14 09:51:21 +0000
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>2019-08-14 09:51:21 +0000
commit05b77088c086863aa3e5c0456b9a0c0075e05a6d (patch)
tree051b67d4c88c69ce524dcc25f8f55b9c44cab514 /gcc/ada/table.adb
parent9d7921310e5a265f0db62e45a881c266b8e4bec1 (diff)
downloadgcc-05b77088c086863aa3e5c0456b9a0c0075e05a6d.zip
gcc-05b77088c086863aa3e5c0456b9a0c0075e05a6d.tar.gz
gcc-05b77088c086863aa3e5c0456b9a0c0075e05a6d.tar.bz2
[Ada] Check SPARK restriction on Old/Loop_Entry with pointers
--#! r336866 --#! no-mail SPARK RM rule 3.10(14) restricts the use of Old and Loop_Entry attributes on prefixes of an owning or observing type (i.e. a type with access inside). There is no impact on compilation. 2019-08-14 Yannick Moy <moy@adacore.com> gcc/ada/ * sem_spark.adb (Check_Old_Loop_Entry): New procedure to check correct use of Old and Loop_Entry. (Check_Node): Check subprogram contracts. (Check_Pragma): Check Loop_Variant. (Check_Safe_Pointers): Apply checking to library-level subprogram declarations as well, in order to check their contract. From-SVN: r274453
Diffstat (limited to 'gcc/ada/table.adb')
0 files changed, 0 insertions, 0 deletions