This is the mail archive of the gcc@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: Some porting help


The macros we are talking about is taking the x in (mem:m x) as
argument, the mem-part is not passed. In my case i have a
(pre_dec:SI (mem:SI ...)) that I don't want. Maybe this isn't defined as
a memory address?

Anders

On Thu, 2003-05-15 at 03:45, Alexandre Oliva wrote:
> On May 14, 2003, Anders Ådland <adland@stud.ntnu.no> wrote:
> 
> > I have tried to do this in GO_IF_LEGITIMATE_ADDRESS but
> > it don't work (in all cases).
> 
> This macro should only test the rtx, not change it.  I believe you
> want to do this in LEGITIMIZE_ADDRESS and LEGITIMIZE_RELOAD_ADDRESS
> instead.
> 
> -- 
> Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
> Red Hat GCC Developer                 aoliva@{redhat.com, gcc.gnu.org}
> CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
> Free Software Evangelist                Professional serial bug killer



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