GCSE considers read only memory clobbered by function calls.
Jeffrey A Law
law@redhat.com
Tue May 31 17:01:00 GMT 2005
On Mon, 2005-05-23 at 10:47 +0300, Mostafa Hagog wrote:
>
>
>
>
> Jeffrey A Law <law@redhat.com> wrote on 09/05/2005 18:17:45:
>
> > Yes, it looks quite reasonable. Please go ahead with the full testing
> > cycle and consider the patch pre-approved once complete.
> >
> I have changed the patch according to some feedbacks that I have got -- the
> main idea didn't change. One change is to check the MEM_READONLY_P flag
> also in load_killed_in_block. The new patch is attached below. bootstrap
> passed (with -O2 -g -fgcse -fgcse-las --param max-gcse-passes=3) and no new
> regressions on powerpc-apple-darwin.
>
> Since I have changed the patch a bit I am asking again for approval to
> commit.
>
> 2005-05-23 Mostafa Hagog <mustafa@il.ibm.com>
>
> * gcse.c (compute_transp, load_killed_in_block): use MEM_READONLY_P.
This is fine. Please install.
Thanks,
Jeff
More information about the Gcc
mailing list