This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r195790 - in /trunk/gcc/ada: ChangeLog exp_ch4....
- From: charlet at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 06 Feb 2013 10:10:33 -0000
- Subject: r195790 - in /trunk/gcc/ada: ChangeLog exp_ch4....
Author: charlet
Date: Wed Feb 6 10:10:32 2013
New Revision: 195790
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=195790
Log:
2013-02-06 Hristian Kirtchev <kirtchev@adacore.com>
* exp_ch4.adb (Expand_N_Expression_With_Actions): Rewritten. This
routine should be able to properly detect controlled transient
objects in its actions and generate the appropriate finalization
actions.
* exp_ch6.adb (Enclosing_Context): Removed.
(Expand_Ctrl_Function_Call): Remove local subprogram and
constant. Use routine Within_Case_Or_If_Expression to determine
whether the lifetime of the function result must be extended to
match that of the context.
* exp_util.ads, exp_util.adb (Within_Case_Or_If_Expression): New
routine.
2013-02-06 Ed Schonberg <schonberg@adacore.com>
* sem_ch12.adb (Validate_Array_Type_Instance): Extend check
for subtype matching of component type of formal array type,
to avoid spurious error when component type is a separate actual
in the instance, and there may be a discrepancy between private
and full view of component type.
Modified:
trunk/gcc/ada/ChangeLog
trunk/gcc/ada/exp_ch4.adb
trunk/gcc/ada/exp_ch6.adb
trunk/gcc/ada/exp_util.adb
trunk/gcc/ada/exp_util.ads
trunk/gcc/ada/sem_ch12.adb