diff options
author | Arnaud Charlet <charlet@gcc.gnu.org> | 2014-07-29 14:40:42 +0200 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2014-07-29 14:40:42 +0200 |
commit | 0382062b3b87859411e98bb2d3347020e7f45f48 (patch) | |
tree | a270d538296317d1c5acb6eda3c5aa21b378c4d1 /gcc/ada/sinfo.ads | |
parent | 56386ab9004a24f057aff7aeaed15da1f025f7ff (diff) | |
download | gcc-0382062b3b87859411e98bb2d3347020e7f45f48.zip gcc-0382062b3b87859411e98bb2d3347020e7f45f48.tar.gz gcc-0382062b3b87859411e98bb2d3347020e7f45f48.tar.bz2 |
[multiple changes]
2014-07-29 Hristian Kirtchev <kirtchev@adacore.com>
* exp_ch7.adb (Build_BIP_Cleanup_Stmts): Remove
formal parameter Obj_Id and update the comment on usage. Renamed
Obj_Typ to Func_Typ and update all occurrences.
(Find_Last_Init): Remove formal parameter Decl and update the comment
on usage.
Remove local constants Obj_Id and Obj_Typ. Remove local variables
Init_Typ and Is_Conc. Remove the extraction of the initialization type.
(Find_Last_Init_In_Block): Remove formal parameter
Init_Typ and update the comment on usage.
(Is_Init_Call): Remove formal parameter Init_Typ and update the comment
on usage. Check whether the procedure call is an initialization
procedure of either the object type or the initialization type.
(Is_Init_Proc_Of): New routine.
(Process_Object_Declaration): Obj_Id and Obj_Typ are now global to this
routine. Add new variable Init_Typ. Add circuitry to extract the object
type as well as the initialization type.
2014-07-29 Robert Dewar <dewar@adacore.com>
* sem_case.adb: Minor reformatting.
* sem_aux.ads: Minor reformatting.
2014-07-29 Ed Schonberg <schonberg@adacore.com>
* sinfo.adb (Set_Else_Actions, Set_Then_Actions): Set parent
pointer on these fields, even though they are semantic, because
subsequent analysis and expansion of action nades may require
exploring the tree, for example to locate a node to be wrapped
when a function with controlled result is called.
2014-07-29 Claire Dross <dross@adacore.com>
* sem_aux.adb (Get_Binary_Nkind): Use case on
Name_Id instead of an intermediate string.
(Get_Unary_Nkind): Use case on Name_Id instead of an intermediate
string.
2014-07-29 Sergey Rybin <rybin@adacore.com frybin>
* gnat_ugn.texi (gnatelim, gnatstub, gnatmetric): Add note
about processing sources with preprocessor directives.
From-SVN: r213155
Diffstat (limited to 'gcc/ada/sinfo.ads')
-rw-r--r-- | gcc/ada/sinfo.ads | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ada/sinfo.ads b/gcc/ada/sinfo.ads index 86d95305..36bd33f 100644 --- a/gcc/ada/sinfo.ads +++ b/gcc/ada/sinfo.ads @@ -4262,7 +4262,11 @@ package Sinfo is -- Note: the Then_Actions and Else_Actions fields are always set to -- No_List in the tree passed to Gigi. These fields are used only - -- for temporary processing purposes in the expander. + -- for temporary processing purposes in the expander. Even though they + -- are semantic fields, their parent pointers are set because analysis + -- of actions nodes in those lists may generate additional actions that + -- need to know their insertion point (for example for the creation of + -- transient scopes). ---------------------------- -- 4.5.7 Case Expression -- |