summaryrefslogtreecommitdiff
path: root/gcc/jump.c
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2001-05-02 14:31:45 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2001-05-02 14:31:45 +0000
commit4679ade3d07c159e201a8c6af4811e110d7be90e (patch)
tree7242626023390eab7333b3367b8417b18f8e5803 /gcc/jump.c
parent341d41ef1647b940947aa8d0753605522aa79371 (diff)
downloadgcc-4679ade3d07c159e201a8c6af4811e110d7be90e.tar.gz
* c-lex.c: NULL_PTR -> NULL.
* cse.c: Likewise. * emit-rtl.c: Likewise. * gcse.c: Likewise. * genpeep.c: Likewise. * jump.c: Likewise. * mips-tdump.c: Likewise. * reload1.c: Likewise. * rtlanal.c: Likewise. * stmt.c: Likewise. * stor-layout.c: Likewise. * toplev.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41761 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/jump.c')
-rw-r--r--gcc/jump.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/jump.c b/gcc/jump.c
index 4046b9a350d..314a20bb029 100644
--- a/gcc/jump.c
+++ b/gcc/jump.c
@@ -973,7 +973,7 @@ delete_noop_moves (f)
{
rtx trial;
rtx tem = find_equiv_reg (NULL_RTX, insn, 0,
- sreg, NULL_PTR, dreg,
+ sreg, NULL, dreg,
GET_MODE (SET_SRC (body)));
if (tem != 0
@@ -1011,8 +1011,7 @@ delete_noop_moves (f)
}
else if (dreg >= 0 && CONSTANT_P (SET_SRC (body))
&& find_equiv_reg (SET_SRC (body), insn, 0, dreg,
- NULL_PTR, 0,
- GET_MODE (SET_DEST (body))))
+ NULL, 0, GET_MODE (SET_DEST (body))))
{
/* This handles the case where we have two consecutive
assignments of the same constant to pseudos that didn't