GCSE considers read only memory clobbered by function calls.
Mostafa Hagog
MUSTAFA@il.ibm.com
Mon May 23 15:15:00 GMT 2005
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.
(See attached file: gcse_las3.patch)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gcse_las3.patch
Type: application/octet-stream
Size: 3478 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20050523/78be3f06/attachment.obj>
More information about the Gcc
mailing list