OSDN Git Service

2011-08-02 Robert Dewar <dewar@adacore.com>
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 2 Aug 2011 10:16:43 +0000 (10:16 +0000)
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 2 Aug 2011 10:16:43 +0000 (10:16 +0000)
commit67cb127a092c466c05e8d8a0448fdf7beed38594
treefd678bd18c08bc1eff4551dda9a880c209adff4e
parent231eb5818d6b6707eaac5aad60b42d5db554e167
2011-08-02  Robert Dewar  <dewar@adacore.com>

* sem_ch3.adb: Minor reformatting
Minor comment addition
Minor error msg text change

2011-08-02  Javier Miranda  <miranda@adacore.com>

* sem_ch5.adb (Analyze_Iteration_Scheme.Uses_Secondary_Stack): New
function. Used to be more precise when we generate a variable plus one
assignment to remove side effects in the evaluation of the Bound
expressions.
(Analyze_Iteration_Scheme): Clean attribute analyzed in all the nodes
of the bound expression to force its re-analysis and thus expand the
associated transient scope (if required). Code cleanup replacing the
previous code that declared the constant entity by an invocation to
routine Force_Evaluation which centralizes this work in the frontend.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@177124 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ada/ChangeLog
gcc/ada/sem_ch3.adb
gcc/ada/sem_ch5.adb