summaryrefslogtreecommitdiff
path: root/gcc/ada/exp_ch5.adb
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2010-10-21 09:58:50 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2010-10-21 09:58:50 +0000
commit174d1afa08836a86d95abe73912b47210e8000db (patch)
tree0ae0feb979251c85566cc2d776dcbd083f62c58a /gcc/ada/exp_ch5.adb
parenta35b881d4101ef1ce4ff2b070702b9ee0cdff182 (diff)
downloadgcc-174d1afa08836a86d95abe73912b47210e8000db.tar.gz
2010-10-21 Javier Miranda <miranda@adacore.com>
* exp_ch5.adb: Update comment. 2010-10-21 Robert Dewar <dewar@adacore.com> * sem_ch13.adb (Build_Invariant_Procedure): Remove commented out code for interfaces, since invariants are not allowed on interfaces in any case. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165758 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/exp_ch5.adb')
-rw-r--r--gcc/ada/exp_ch5.adb4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ada/exp_ch5.adb b/gcc/ada/exp_ch5.adb
index 7c69d5e634e..42fcf151c69 100644
--- a/gcc/ada/exp_ch5.adb
+++ b/gcc/ada/exp_ch5.adb
@@ -562,8 +562,8 @@ package body Exp_Ch5 is
-- cannot assign to elements of the array without this extra
-- unchecked conversion.
- -- Note: We must propagate Parent to the conversion node to allow
- -- climbing the subtree if Insert_Action is invoked later.
+ -- Note: We propagate Parent to the conversion nodes to generate
+ -- a well-formed subtree.
if Nkind (Act_Lhs) = N_Slice then
Larray := Prefix (Act_Lhs);