2008-05-20 Ed Schonberg <schonberg@adacore.com>
authorEd Schonberg <schonberg@adacore.com>
Tue, 20 May 2008 12:51:06 +0000 (14:51 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Tue, 20 May 2008 12:51:06 +0000 (14:51 +0200)
commitcd2fb9207ace61a867ce118129cdb4ecc0d0a8f7
tree58ffa095bc0a26a7fc70336e3aa0ee6d87556e53
parent4b1c635450494b9aa044f355cb4fb87fcc0841eb
2008-05-20  Ed Schonberg  <schonberg@adacore.com>

* sem_eval.adb
(Eval_Slice): Warn when a slice whose discrete range is a subtype name
denotes the whole array of its prefix.

From-SVN: r135643
gcc/ada/sem_eval.adb