OSDN Git Service

2011-10-13 Gary Dismukes <dismukes@adacore.com>
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 13 Oct 2011 10:39:15 +0000 (10:39 +0000)
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 13 Oct 2011 10:39:15 +0000 (10:39 +0000)
commitca28cd49d9c321f16d07e3e69ca7cc808f8d8437
treeedfc743c58e19831d1b0256b949b3dcd247e3290
parent52b3bcf2efa74aba858df98905b42b9535c9a565
2011-10-13  Gary Dismukes  <dismukes@adacore.com>

* exp_ch5.adb (Expand_N_Loop_Statement): For the transformation
of a for loop for an enumeration type with an enumeration rep
clause, which involves moving the original loop parameter into
a nested block, the loop parameter's entity must be removed from
the entity list of the loop scope.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@179904 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ada/ChangeLog
gcc/ada/exp_ch5.adb