sem_attr.adb (Resolve_Attribute, [...]): If the prefix is a slice...
authorEd Schonberg <schonberg@adacore.com>
Fri, 23 May 2008 14:33:37 +0000 (16:33 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Fri, 23 May 2008 14:33:37 +0000 (16:33 +0200)
commitbfc157d52c26ce692eaf52c4cdbbf4b148198c9e
tree9f49fc8449cbf1726d098404a04575ba9feb7ae9
parent651a2cb04b6c24cc07179449faa0b46e9f75dac6
sem_attr.adb (Resolve_Attribute, [...]): If the prefix is a slice...

2008-05-23  Ed Schonberg  <schonberg@adacore.com>

* sem_attr.adb (Resolve_Attribute, case 'address): If the prefix is a
slice, convert it to an indexed component, which is equivalent, more
efficient, and usable even if the slice itself is not addressable.

From-SVN: r135811
gcc/ada/sem_attr.adb