OSDN Git Service

* rtlanal.c (rtx_unstable_p): The pic register is stable
authorwehle <wehle@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 23 Aug 2000 03:54:23 +0000 (03:54 +0000)
committerwehle <wehle@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 23 Aug 2000 03:54:23 +0000 (03:54 +0000)
commit002fe3cb431c43bdaa5b5973cf02e80733f04fe3
treeb033d3e0a235bd6b290d0387a72344825b7163b6
parent82582c28be9c26a6340dcb351872b1b2a7c324c2
* rtlanal.c (rtx_unstable_p): The pic register is stable
(within one function) and the actual rtx should be used
when checking the registers.
(rtx_addr_can_trap_p): Pic memory addresses can't trap.

* alias.c (true_dependence, write_dependence_p): Fix
bug in previous patch.

* i386.c (ix86_GOT_alias_set): New.
(legitimize_pic_address): Use it.

* rtlanal.c (rtx_unstable_p): An unchanging MEM is
only stable if its address is stable.
(rtx_varies_p): An unchanging MEM can't vary if
its address doesn't vary.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35900 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/alias.c
gcc/config/i386/i386.c
gcc/rtlanal.c