Patchwork [Ada] Rewrite obsolete comment

login
register
mail settings
Submitter Eric Botcazou
Date Nov. 17, 2010, 11:59 a.m.
Message ID <201011171259.43607.ebotcazou@adacore.com>
Download mbox | patch
Permalink /patch/71555/
State New
Headers show

Comments

Eric Botcazou - Nov. 17, 2010, 11:59 a.m.
Tested on i586-suse-linux, applied on the mainline


2010-11-17  Eric Botcazou  <ebotcazou@adacore.com>

	* gcc-interface/trans.c (addressable_p): Rewrite obsolete paragraph in
	head comment.

Patch

Index: gcc-interface/trans.c
===================================================================
--- gcc-interface/trans.c	(revision 166863)
+++ gcc-interface/trans.c	(working copy)
@@ -7287,10 +7287,11 @@  smaller_form_type_p (tree type, tree ori
    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)