summaryrefslogtreecommitdiff
path: root/gcc/recog.c
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2001-05-01 12:11:35 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2001-05-01 12:11:35 +0000
commitd946ea19691c3dbff945842d584b6a94c5190d92 (patch)
tree8291109d2b67c4e545af01d31c07d304a1aa6fc8 /gcc/recog.c
parent009683b3add393296a992f44e7078b0e3e3e6246 (diff)
downloadgcc-d946ea19691c3dbff945842d584b6a94c5190d92.tar.gz
* bitmap.c: Change NULL_PTR to NULL or "(rtx*)0".
* c-common.c: Likewise. * c-decl.c: Likewise. * combine.c: Likewise. * rs6000.c: Likewise. * except.c: Likewise. * explow.c: Likewise. * expr.c: Likewise. * fold-const.c: Likewise. * function.c: Likewise. * gcc.c: Likewise. * gcse.c: Likewise. * integrate.c: Likewise. * loop.c: Likewise. * objc/objc-act.c: Likewise. * recog.c: Likewise. * reg-stack.c: Likewise. * reload.c: Likewise. * reload1.c: Likewise. * simplify-rtx.c: Likewise. * stmt.c: Likewise. * varasm.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41722 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/recog.c')
-rw-r--r--gcc/recog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/recog.c b/gcc/recog.c
index 1c9fdf90e6e..3fcd85c18c7 100644
--- a/gcc/recog.c
+++ b/gcc/recog.c
@@ -115,7 +115,7 @@ recog_memoized_1 (insn)
rtx insn;
{
if (INSN_CODE (insn) < 0)
- INSN_CODE (insn) = recog (PATTERN (insn), insn, NULL_PTR);
+ INSN_CODE (insn) = recog (PATTERN (insn), insn, 0);
return INSN_CODE (insn);
}
@@ -268,7 +268,7 @@ insn_invalid_p (insn)
int icode = recog (pat, insn,
(GET_CODE (pat) == SET
&& ! reload_completed && ! reload_in_progress)
- ? &num_clobbers : NULL_PTR);
+ ? &num_clobbers : 0);
int is_asm = icode < 0 && asm_noperands (PATTERN (insn)) >= 0;