exp_ch5.adb (Expand_Assign_Array): If source or target of assignment is a variable...
authorEd Schonberg <schonberg@adacore.com>
Tue, 14 Aug 2007 08:41:57 +0000 (10:41 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Tue, 14 Aug 2007 08:41:57 +0000 (10:41 +0200)
commitbd28782c2f0a7ed7c3ccb2381d1f688e1ffdd8f6
treebee5452e3a6b8a5733fe027c5cd5b432156cff10
parentfa57ac97e9e50108ba984a0a6bfe3d54d339f059
exp_ch5.adb (Expand_Assign_Array): If source or target of assignment is a variable that renames a slice...

2007-08-14  Ed Schonberg  <schonberg@adacore.com>

* exp_ch5.adb (Expand_Assign_Array): If source or target of assignment
is a variable that renames a slice, use the variable itself in the
expannsion when the renamed expression itself may be modified between
the declaration of the renaming and the array assignment.

From-SVN: r127430
gcc/ada/exp_ch5.adb