diff options
-rw-r--r-- | gcc/ada/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/ada/gcc-interface/trans.c | 9 |
2 files changed, 10 insertions, 4 deletions
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index 420a596..07ccf3e 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,8 @@ +2010-11-17 Eric Botcazou <ebotcazou@adacore.com> + + * gcc-interface/trans.c (addressable_p): Rewrite obsolete paragraph in + head comment. + 2010-11-12 Joseph Myers <joseph@codesourcery.com> * gcc-interface/Make-lang.in (ada/misc.o): Use $(OPTS_H). diff --git a/gcc/ada/gcc-interface/trans.c b/gcc/ada/gcc-interface/trans.c index 1ab0b15..b658620 100644 --- a/gcc/ada/gcc-interface/trans.c +++ b/gcc/ada/gcc-interface/trans.c @@ -7287,10 +7287,11 @@ smaller_form_type_p (tree type, tree orig_type) that Gigi must make sure that such operations cannot be applied to non-BLKmode bit-fields. - The second goal is achieved by means of the addressable_p predicate - and by inserting SAVE_EXPRs around trees deemed non-addressable. - They will be turned during gimplification into proper temporaries - whose address will be used in lieu of that of the original tree. */ + The second goal is achieved by means of the addressable_p predicate, + which computes whether a temporary must be inserted by Gigi when the + address of a tree is requested; if so, the address of the temporary + will be used in lieu of that of the original tree and some glue code + generated to connect everything together. */ static bool addressable_p (tree gnu_expr, tree gnu_type) |