]> git.ipfire.org Git - thirdparty/gcc.git/commit
sem_ch5.adb (Analyze_Iterator_Specification): Set kind of loop variable after pre...
authorEd Schonberg <schonberg@adacore.com>
Tue, 15 May 2012 12:11:10 +0000 (12:11 +0000)
committerArnaud Charlet <charlet@gcc.gnu.org>
Tue, 15 May 2012 12:11:10 +0000 (14:11 +0200)
commitb25ce290ca03957618015e02f49fbcf79062c7fc
tree0864e7f20be9010435e3c0f767ef154a8eaf8030
parentb0d7135584eb90c1d4de57d754c8963b1703fcc6
sem_ch5.adb (Analyze_Iterator_Specification): Set kind of loop variable after pre-analysis of iterator name...

2012-05-15  Ed Schonberg  <schonberg@adacore.com>

* sem_ch5.adb (Analyze_Iterator_Specification): Set kind of
loop variable after pre-analysis of iterator name, to prevent
premature usage of loop variable.

2012-05-15  Ed Schonberg  <schonberg@adacore.com>

* sem_util.adb (Is_Variable): In Ada 2012, an explicit
dereference that is a rewriting of an expression whose type has
a declared Implicit_Derenference aspect is a variable.

From-SVN: r187531
gcc/ada/ChangeLog
gcc/ada/sem_ch5.adb
gcc/ada/sem_util.adb