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: [PATCH][2/2] Merge TMR_SYMBOL and TMR_BASE, add TMR_INDEX2


On Thu, 2 Sep 2010, Diego Novillo wrote:

> On Thu, Sep 2, 2010 at 08:15, Richard Guenther <rguenther@suse.de> wrote:
> 
> > I thought of introducing a common accessor #define for MEM_REF
> > and TARGET_MEM_REF base and offset but couldn't think of a nice
> > name - any idea? ÂREF_BASE / REF_OFFSET might be a bit too generic?
> 
> Why not MEM_REF_BASE and MEM_REF_OFFSET?  Isn't a T_M_R a special case
> of an M_R conceptually?
> That may require disambiguating some MEM_REF names, though.

Well, I'd be fine with that.  Maybe even change the remaining
TMR_xxx to MEM_REF_xxx as well, just adding some tree checks?

Richard.

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