This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Update documentation of get_base_address
- From: Diego Novillo <dnovillo at redhat dot com>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Sun, 12 Dec 2004 08:59:49 -0500
- Subject: Update documentation of get_base_address
- Organization: Red Hat Canada
get_base_var doesn't exist anymore.
Diego.
2004-12-12 Diego Novillo <dnovillo@redhat.com>
* tree-gimple.c (get_base_address): Update documentation.
Index: tree-gimple.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/tree-gimple.c,v
retrieving revision 2.33
diff -d -c -p -u -r2.33 tree-gimple.c
--- tree-gimple.c 8 Dec 2004 06:39:00 -0000 2.33
+++ tree-gimple.c 12 Dec 2004 13:57:15 -0000
@@ -419,10 +419,7 @@ get_call_expr_in (tree t)
return NULL_TREE;
}
-/* Given a memory reference expression, return the base address. Note that,
- in contrast with get_base_var, this will not recurse inside INDIRECT_REF
- expressions. Therefore, given the reference PTR->FIELD, this function
- will return *PTR. Whereas get_base_var would've returned PTR. */
+/* Given a memory reference expression T, return its base address. */
tree
get_base_address (tree t)