diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2010-11-17 12:00:15 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2010-11-17 12:00:15 +0000 |
commit | 5a19bc0a79f8b884506081df8132edb89edbcd39 (patch) | |
tree | c28b229bcab46e3c1f8c7e004ffc982765714c9c /gcc/ada | |
parent | d0f305b11a04257bf41b1d066f3e3d9232c616ef (diff) | |
download | gcc-5a19bc0a79f8b884506081df8132edb89edbcd39.zip gcc-5a19bc0a79f8b884506081df8132edb89edbcd39.tar.gz gcc-5a19bc0a79f8b884506081df8132edb89edbcd39.tar.bz2 |
trans.c (addressable_p): Rewrite obsolete paragraph in head comment.
* gcc-interface/trans.c (addressable_p): Rewrite obsolete paragraph in
head comment.
From-SVN: r166864
Diffstat (limited to 'gcc/ada')
-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) |