This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GCSE considers read only memory clobbered by function calls.
- From: Mostafa Hagog <MUSTAFA at il dot ibm dot com>
- To: Paolo Bonzini <bonzini at gnu dot org>
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 10 May 2005 10:51:36 +0300
- Subject: Re: GCSE considers read only memory clobbered by function calls.
Paolo Bonzini <bonzini@gnu.org> wrote on 09/05/2005 18:09:10:
> > It appears that GCSE considers "read only memory" as call clobbered,
which
> > is not the case in CSE. I have took the test for read-only memory from
CSE
> > and add it to GCSE where we compute the transparency.
>
> My wild guess is that this was not possible when MEM_READONLY_P was
> RTX_UNCHANGING_P, and now it is.
What wasn't possible? the fact that GCSE considers MEM_READONLY_P call
clobbered or the fact that CSE does not consider it such that?
Mostafa.