summaryrefslogtreecommitdiffstats
path: root/gcc/ada/sem_attr.ads
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2012-12-05 10:38:36 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2012-12-05 10:38:36 +0000
commit3a12891883fab1c184e9b715b1548c58c52d1c99 (patch)
tree2de998890738052a18d601918218650475cb0b05 /gcc/ada/sem_attr.ads
parent60cd3d0e80844555587475098876db88b16109b0 (diff)
downloadppe42-gcc-3a12891883fab1c184e9b715b1548c58c52d1c99.tar.gz
ppe42-gcc-3a12891883fab1c184e9b715b1548c58c52d1c99.zip
2012-12-05 Ed Schonberg <schonberg@adacore.com>
* sem_eval.adb: Remove spurious warnings. 2012-12-05 Ed Schonberg <schonberg@adacore.com> * sem_util.adb (Build_Explicit_Dereference): Set properly the type of the prefix prior to rewriting, because subsequent legality checks examine the original node. 2012-12-05 Hristian Kirtchev <kirtchev@adacore.com> * aspects.adb: Add Contract_Cases to the canonical aspects map. * aspects.ads: Add aspect Contract_Cases in the various aspect tables. * par-prag.adb: The parser does not need to perform special actions for pragma Contract_Cases. * sem_ch6.adb (Expand_Contract_Cases): New routine. (Process_Contract_Cases): Convert pragma Contract_Cases into pre- and post- condition checks that verify the runtime state of all case guards and their corresponding consequences. * sem_ch13.adb (Analyze_Aspect_Specifications): Perform various legality checks on aspect Contract_Cases. The aspect is transformed into a pragma. * sem_prag.adb: Add an entry in table Sig_Flags for pragma Contract_Cases. (Analyze_Pragma): Perform various legality checks on pragma Contract_Cases. The pragma is associated with the contract of the related subprogram. (Chain_CTC): Omit pragma Contract_Cases because it does not introduce a unique case name and does not follow the syntax of Contract_Case and Test_Case. * snames.ads-tmpl: Add new name Name_Contract_Cases. Add a Pragma_Id for Contract_Cases. 2012-12-05 Thomas Quinot <quinot@adacore.com> * sem_ch5.adb: Minor reformatting. 2012-12-05 Hristian Kirtchev <kirtchev@adacore.com> * sem_attr.ads: Add an entry for attribute Loop_Entry in the Attribute_Impl_Def table. 2012-12-05 Bob Duff <duff@adacore.com> * gnatchop.adb (Read_File): Avoid storage leak, and in most cases avoid an extra copy of the string. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194199 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/sem_attr.ads')
-rw-r--r--gcc/ada/sem_attr.ads5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/ada/sem_attr.ads b/gcc/ada/sem_attr.ads
index 7258593aabf..b993b9bab82 100644
--- a/gcc/ada/sem_attr.ads
+++ b/gcc/ada/sem_attr.ads
@@ -312,6 +312,11 @@ package Sem_Attr is
-- the coding standards in use), but logically no initialization is
-- needed, and the value should never be accessed.
+ Attribute_Loop_Entry => True,
+ -- For every object of a non-limited type, S'Loop_Entry { (Loop_Name) }
+ -- denotes the constant value of prefix S at the point of entry into the
+ -- related loop. The type of the attribute is the type of the prefix.
+
------------------
-- Machine_Size --
------------------
OpenPOWER on IntegriCloud