This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Update documentation of get_base_address
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- To: dnovillo at redhat dot com
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 13 Dec 04 17:57:20 EST
- Subject: Re: Update documentation of get_base_address
+ The base address of a memory reference expression is the main
+ object being referenced. For instance, the base address for
+ 'array[i][j]' is 'array'. You can think of this as stripping away
+ the offset part from a memory address.
Couldn't hurt to give a more general example to make it yet clearer,
perhaps 'array[i].fld[j]'.