exp_ch5.adb (Expand_Assign_Array): If the right-hand side is a string...
authorEd Schonberg <schonberg@adacore.com>
Wed, 15 Feb 2006 09:38:19 +0000 (10:38 +0100)
committerArnaud Charlet <charlet@gcc.gnu.org>
Wed, 15 Feb 2006 09:38:19 +0000 (10:38 +0100)
commit6ec9c97a3597abdbf370dd4ebb5806fd64369370
tree9bdcae93b9081a9daeac83186d07949bbf13b60e
parentdfd99a80f01f7020727987fe981a2fe17ad034e5
exp_ch5.adb (Expand_Assign_Array): If the right-hand side is a string...

2006-02-13  Ed Schonberg  <schonberg@adacore.com>

* exp_ch5.adb (Expand_Assign_Array): If the right-hand side is a
string, and the context requires a loop for the assignment (e.g.
because the left-hand side is packed), generate a unique name for the
temporary that holds the string, to prevent spurious name clashes.

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