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] Record REG_POINTER in more cases


> This is OK for mainline.

Yea!

> I've heard complaints that the middle-end should be doing a better job
> of preserving/propagating REG_POINTER, so any further follow-up patches
> would be very much appreciated.

I'm probably the bad guy as preserving/propagating REG_POINTER is
very important on the PA because the base register in index instructions
has to be in the right space.

There are places in jump.c, gcse.c, loop.c, ... where REG_POINTER is
lost when copies of REG rtx's are made to pull insn's out of loops etc.
I submitted a patch sometime ago to fix some of these areas.  However,
it wasn't approved and I came up with a hack for the backend that
fixes the REG_POINTER flag in many situations.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)


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