diff options
author | Arnaud Charlet <charlet@gcc.gnu.org> | 2010-10-11 10:44:15 +0200 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2010-10-11 10:44:15 +0200 |
commit | 313d6f2c343c47b112863540d468d905d82a070b (patch) | |
tree | 27810ad9b311e93596255bce29ceb7fd146eba9e /gcc/ada/atree.ads | |
parent | 7b53cb49e265d06be341de2b1729cb3c7b63fbd9 (diff) | |
download | gcc-313d6f2c343c47b112863540d468d905d82a070b.zip gcc-313d6f2c343c47b112863540d468d905d82a070b.tar.gz gcc-313d6f2c343c47b112863540d468d905d82a070b.tar.bz2 |
[multiple changes]
2010-10-11 Arnaud Charlet <charlet@adacore.com>
* sem_prag.adb (Check_Interrupt_Or_Attach_Handler): Do not emit error
for AI05-0033 in CodePeer mode.
2010-10-11 Robert Dewar <dewar@adacore.com>
* atree.h, atree.ads, atree.adb (Flag3): New flag (replaces Unused_1)
* csinfo.adb: Aspect_Specifications is a new special field
* einfo.adb (Flag3): New unused flag
* exp_util.adb (Insert_Actions): Add processing for
N_Aspect_Specification.
* sem.adb: Add entry for N_Aspect_Specification.
* sinfo.ads, sinfo.adb (N_Aspect_Specification): New node
(Has_Aspect_Specifications): New flag
(Permits_Aspect_Specifications): New function
(Aspect_Specifications): New function
(Set_Aspect_Specifications): New procedure
* sprint.adb (Sprint_Node): Put N_At_Clause in proper alpha order
(Sprint_Node): Add dummy entry for N_Aspect_Specification
* treepr.adb (Flag3): New flag to be listed
2010-10-11 Vincent Celier <celier@adacore.com>
* adaint.c: Minor reformatting.
From-SVN: r165279
Diffstat (limited to 'gcc/ada/atree.ads')
-rw-r--r-- | gcc/ada/atree.ads | 36 |
1 files changed, 19 insertions, 17 deletions
diff --git a/gcc/ada/atree.ads b/gcc/ada/atree.ads index 8a1ae47..9e29a57 100644 --- a/gcc/ada/atree.ads +++ b/gcc/ada/atree.ads @@ -85,10 +85,6 @@ package Atree is -- In_List A flag used to indicate if the node is a member -- of a node list. - -- Rewrite_Sub A flag set if the node has been rewritten using - -- the Rewrite procedure. The original value of the - -- node is retrievable with Original_Node. - -- Rewrite_Ins A flag set if a node is marked as a rewrite inserted -- node as a result of a call to Mark_Rewrite_Insertion. @@ -155,17 +151,18 @@ package Atree is -- it is useful to be able to do untyped traversals, and an internal -- package in Atree allows for direct untyped accesses in such cases. - -- Flag4 Fifteen Boolean flags (use depends on Nkind and + -- Flag3 + -- Flag4 Sixteen Boolean flags (use depends on Nkind and -- Flag5 Ekind, as described for FieldN). Again the access -- Flag6 is usually via subprograms in Sinfo and Einfo which -- Flag7 provide high-level synonyms for these flags, and -- Flag8 contain debugging code that checks that the values -- Flag9 in Nkind and Ekind are appropriate for the access. -- Flag10 - -- Flag11 Note that Flag1-3 are missing from this list. The - -- Flag12 first three flag positions are reserved for the - -- Flag13 standard flags (Comes_From_Source, Error_Posted, - -- Flag14 and Analyzed) + -- Flag11 Note that Flag1-2 are missing from this list. For + -- Flag12 historical reasons, these flag names are unused. + -- Flag13 + -- Flag14 -- Flag15 -- Flag16 -- Flag17 @@ -184,9 +181,9 @@ package Atree is -- entity, it is of type Entity_Kind which is defined -- in package Einfo. - -- Flag19 229 additional flags + -- Flag19 235 additional flags -- ... - -- Flag247 + -- Flag254 -- Convention Entity convention (Convention_Id value) @@ -296,7 +293,7 @@ package Atree is ------------------------------------- -- A subpackage Atree.Unchecked_Access provides routines for reading and - -- writing the fields defined above (Field1-27, Node1-27, Flag1-247 etc). + -- writing the fields defined above (Field1-27, Node1-27, Flag3-254 etc). -- These unchecked access routines can be used for untyped traversals. -- In addition they are used in the implementations of the Sinfo and -- Einfo packages. These packages both provide logical synonyms for @@ -1199,6 +1196,9 @@ package Atree is function Ureal21 (N : Node_Id) return Ureal; pragma Inline (Ureal21); + function Flag3 (N : Node_Id) return Boolean; + pragma Inline (Flag3); + function Flag4 (N : Node_Id) return Boolean; pragma Inline (Flag4); @@ -2254,6 +2254,9 @@ package Atree is procedure Set_Ureal21 (N : Node_Id; Val : Ureal); pragma Inline (Set_Ureal21); + procedure Set_Flag3 (N : Node_Id; Val : Boolean); + pragma Inline (Set_Flag3); + procedure Set_Flag4 (N : Node_Id; Val : Boolean); pragma Inline (Set_Flag4); @@ -3088,8 +3091,7 @@ package Atree is -- Flag used to indicate if node is a member of a list. -- This field is considered private to the Atree package. - Unused_1 : Boolean; - -- Currently unused flag + Flag3 : Boolean; Rewrite_Ins : Boolean; -- Flag set by Mark_Rewrite_Insertion procedure. @@ -3128,7 +3130,7 @@ package Atree is -- used in component 5 (where we still have lots of room!) -- In_List used as Flag19, Flag40, Flag129, Flag216 - -- Unused_1 used as Flag20, Flag41, Flag130, Flag217 + -- Flag3 used as Flag20, Flag41, Flag130, Flag217 -- Rewrite_Ins used as Flag21, Flag42, Flag131, Flag218 -- Analyzed used as Flag22, Flag43, Flag132, Flag219 -- Comes_From_Source used as Flag23, Flag44, Flag133, Flag220 @@ -3243,7 +3245,7 @@ package Atree is Pflag1 => False, Pflag2 => False, In_List => False, - Unused_1 => False, + Flag3 => False, Rewrite_Ins => False, Analyzed => False, Comes_From_Source => False, @@ -3288,7 +3290,7 @@ package Atree is Pflag1 => False, Pflag2 => False, In_List => False, - Unused_1 => False, + Flag3 => False, Rewrite_Ins => False, Analyzed => False, Comes_From_Source => False, |