]> git.ipfire.org Git - thirdparty/gcc.git/commit
sem_aggr.adb (New_Copy_Tree_And_Copy_Dimensions): New routine.
authorVincent Pucci <pucci@adacore.com>
Mon, 1 Oct 2012 13:23:22 +0000 (13:23 +0000)
committerArnaud Charlet <charlet@gcc.gnu.org>
Mon, 1 Oct 2012 13:23:22 +0000 (15:23 +0200)
commitba9144840f5b72697946060758bdde386d4a6292
treeb81300a66fd5db2e8413835a87c72c2a03cabbcc
parent804fc056d55a4098d7a4a1fc895579aaf1bb3080
sem_aggr.adb (New_Copy_Tree_And_Copy_Dimensions): New routine.

2012-10-01  Vincent Pucci  <pucci@adacore.com>

* sem_aggr.adb (New_Copy_Tree_And_Copy_Dimensions): New routine.
(Resolve_Record_Aggregate): New_Copy_Tree calls replaced by
New_Copy_Tree_And_Copy_Dimensions calls. Move_Dimensions call
replaced by Copy_Dimensions call.
* sem_dim.adb (Analyze_Dimension_Component_Declaration): Don't
remove the dimensions of expression in component declaration anymore.
(Copy_Dimensions): New routine.
(Move_Dimensions): Add call to Copy_Dimensions.
* sem_dim.ads (Copy_Dimensions): New routine.
(Move_Dimensions): Spec moved to body of Sem_Dim.

From-SVN: r191922
gcc/ada/ChangeLog
gcc/ada/sem_aggr.adb
gcc/ada/sem_dim.adb
gcc/ada/sem_dim.ads