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]: Fix PR c/12372


> > I'm still pondering whether or not to clobber the slots.  I believe
> > that functions are generally allowed to clobber their arguments.  The
> > most serious problem that I have noticed with the patch is that reload
> > doesn't eliminate the occurences of the frame pointer in the call usage
> > information.  So, the information is wrong after reload ;(
> 
> Yes, and this MEM in the uses list is a bit weird.

Basically, I was trying to address the following bit of code in in flow.c:

  /* If this block has no successors, any stores to the frame that aren't
     used later in the block are dead.  So make a pass over the block
     recording any such that are made and show them dead at the end.  We do
     a very conservative and simple job here.  */

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]