r191959 - in /trunk/gcc/ada: ChangeLog checks.a...
charlet@gcc.gnu.org
charlet@gcc.gnu.org
Tue Oct 2 08:13:00 GMT 2012
Author: charlet
Date: Tue Oct 2 08:13:09 2012
New Revision: 191959
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=191959
Log:
2012-10-02 Vincent Pucci <pucci@adacore.com>
* sem_ch4.adb (Analyze_Indexed_Component_Form): Dimension
analysis for indexed components added.
* sem_ch6.adb (Analyze_Function_Call): Dimension propagation
for function calls added.
* sem_dim.adb (Analyze_Dimension): Call to
Analyze_Dimension_Has_Etype when N is a function call.
(Analyze_Dimension_Call): Don't propagate anymore the dimensions
for function calls since this is now treated separately in
Analyze_Dimension_Has_Etype.
(Analyze_Dimension_Has_Etype): For
attribute references, propagate the dimensions from the prefix.
* sem_dim.ads (Copy_Dimensions): Fix comment.
2012-10-02 Hristian Kirtchev <kirtchev@adacore.com>
* checks.ads, checks.adb (Apply_Parameter_Aliasing_Checks): New routine.
(Apply_Parameter_Aliasing_And_Validity_Checks): This routine
has been split into two.
(Apply_Parameter_Validity_Checks): New routine.
* exp_ch6.adb (Expand_Call): Add checks to verify that actuals
do not overlap. The checks are made on the caller side to overcome
issues of parameter passing mechanisms.
* freeze.adb (Freeze_Entity): Update call to
Apply_Parameter_Aliasing_And_Validity_Checks.
Modified:
trunk/gcc/ada/ChangeLog
trunk/gcc/ada/checks.adb
trunk/gcc/ada/checks.ads
trunk/gcc/ada/exp_ch6.adb
trunk/gcc/ada/freeze.adb
trunk/gcc/ada/sem_ch4.adb
trunk/gcc/ada/sem_ch6.adb
trunk/gcc/ada/sem_dim.adb
trunk/gcc/ada/sem_dim.ads
More information about the Gcc-cvs
mailing list