This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH]: Fix PR c/12372
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- To: ebotcazou at libertysurf dot fr (Eric Botcazou)
- Cc: jason at redhat dot com, rth at redhat dot com, gcc-patches at gcc dot gnu dot org
- Date: Fri, 24 Oct 2003 10:35:17 -0400 (EDT)
- Subject: 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)