This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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]'.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]