diff options
author | Javier Miranda <miranda@adacore.com> | 2011-08-02 10:44:29 +0000 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2011-08-02 12:44:29 +0200 |
commit | 62be5d0aad9a968382ad5299f47189ca2a8faa59 (patch) | |
tree | fbed311c0a95314e3f81e2593c9221c9618513f1 /gcc/ada/sem_ch5.adb | |
parent | a20f43891384a48d94b627d240db8f9db41dc78a (diff) | |
download | gcc-62be5d0aad9a968382ad5299f47189ca2a8faa59.tar.gz |
sem_ch5.adb (Analyze_Iteration_Scheme): Fix typo.
2011-08-02 Javier Miranda <miranda@adacore.com>
* sem_ch5.adb (Analyze_Iteration_Scheme): Fix typo.
* gcc-interface/Make-lang.in: Update dependencies.
2011-08-02 Javier Miranda <miranda@adacore.com>
* sem_util.ads, sem_util.adb (Is_Variable): Add a new formal to
determine if the analysis is performed using N or Original_Node (N).
* exp_util.adb (Side_Effect_Free): Code cleanup since the new
functionality of routine Is_Variable avoids code duplication.
* checks.adb (Determine_Range): Handle temporaries generated by
Remove_Side_Effects.
2011-08-02 Javier Miranda <miranda@adacore.com>
* exp_ch4.adb (Expand_N_Quantified_Expression): Force reanalysis and
expansion of the condition. Required since the previous analysis was
done with expansion disabled (see Resolve_Quantified_Expression) and
hence checks were not inserted and record comparisons have not been
expanded.
From-SVN: r177132
Diffstat (limited to 'gcc/ada/sem_ch5.adb')
-rw-r--r-- | gcc/ada/sem_ch5.adb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ada/sem_ch5.adb b/gcc/ada/sem_ch5.adb index c665c2d04c3..4c6c9a26b55 100644 --- a/gcc/ada/sem_ch5.adb +++ b/gcc/ada/sem_ch5.adb @@ -1602,7 +1602,7 @@ package body Sem_Ch5 is -- proper trace of the value, useful in optimizations that get rid -- of junk range checks. - if not Has_Call_Using_Secondary_Stack (N) then + if not Has_Call_Using_Secondary_Stack (Original_Bound) then Force_Evaluation (Original_Bound); return Original_Bound; end if; |