diff options
author | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-10-29 10:54:45 +0000 |
---|---|---|
committer | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-10-29 10:54:45 +0000 |
commit | 9a6a413284032d3ca0ceea2ced284fcd08504978 (patch) | |
tree | 39c2d1f1c4154be2dfbde9d20e3aa72419f8c537 /gcc/ada/exp_ch9.adb | |
parent | 607743460cb910fe1bd265a5f206974afd0acbd5 (diff) | |
download | ppe42-gcc-9a6a413284032d3ca0ceea2ced284fcd08504978.tar.gz ppe42-gcc-9a6a413284032d3ca0ceea2ced284fcd08504978.zip |
2012-10-29 Javier Miranda <miranda@adacore.com>
* sem_ch3.adb (Derive_Progenitor_Subprograms): Disable small
optimization in generic formal types.
2012-10-29 Robert Dewar <dewar@adacore.com>
* exp_ch9.adb, exp_ch3.adb: Add comments.
* sem_prag.adb: Minor reformatting.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192926 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/exp_ch9.adb')
-rw-r--r-- | gcc/ada/exp_ch9.adb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/ada/exp_ch9.adb b/gcc/ada/exp_ch9.adb index b39484fc1ef..94a71ff4c18 100644 --- a/gcc/ada/exp_ch9.adb +++ b/gcc/ada/exp_ch9.adb @@ -911,7 +911,7 @@ package body Exp_Ch9 is -- Start of processing for Build_Activation_Chain_Entity begin - -- Activation chain is never used in restricted profile + -- Activation chain is never used in restricted profile (why not???) if Restricted_Profile then return; @@ -919,8 +919,7 @@ package body Exp_Ch9 is Find_Enclosing_Context (N, Context, Context_Id, Decls); - -- If an activation chain entity has not been declared already, create - -- one. + -- If activation chain entity has not been declared already, create one if Nkind (Context) = N_Extended_Return_Statement or else No (Activation_Chain_Entity (Context)) |