From: Steven Bosscher Date: Mon, 14 Jun 2004 04:55:35 +0000 (+0000) Subject: gcse.c (hash_scan_set, [...]): Revert previous change, don't use CALL_P. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6e72d1e9f16f624a1c44f6d605c2489c7e9d5c5b;p=gcc.git gcse.c (hash_scan_set, [...]): Revert previous change, don't use CALL_P. 2004-06-13 Steven Bosscher * gcse.c (hash_scan_set, hash_scan_insn, mark_set, mark_oprs_set): Revert previous change, don't use CALL_P. From-SVN: r83080 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 671abfe08e9..57aea54e643 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-06-13 Steven Bosscher + + * gcse.c (hash_scan_set, hash_scan_insn, mark_set, mark_oprs_set): + Revert previous change, don't use CALL_P. + 2004-06-13 Jason Merrill * tree.h: Move std_gimplify_va_arg_expr protoype here. diff --git a/gcc/gcse.c b/gcc/gcse.c index 20baed8a9ef..22f19bbf16b 100644 --- a/gcc/gcse.c +++ b/gcc/gcse.c @@ -2071,7 +2071,7 @@ hash_scan_set (rtx pat, rtx insn, struct hash_table *table) rtx dest = SET_DEST (pat); rtx note; - if (CALL_P (src)) + if (GET_CODE (src) == CALL) hash_scan_call (src, insn, table); else if (REG_P (dest)) @@ -2231,13 +2231,13 @@ hash_scan_insn (rtx insn, struct hash_table *table, int in_libcall_block) hash_scan_set (x, insn, table); else if (GET_CODE (x) == CLOBBER) hash_scan_clobber (x, insn, table); - else if (CALL_P (x)) + else if (GET_CODE (x) == CALL) hash_scan_call (x, insn, table); } else if (GET_CODE (pat) == CLOBBER) hash_scan_clobber (pat, insn, table); - else if (CALL_P (pat)) + else if (GET_CODE (pat) == CALL) hash_scan_call (pat, insn, table); } @@ -2745,7 +2745,7 @@ mark_set (rtx pat, rtx insn) else if (MEM_P (dest)) record_last_mem_set_info (insn); - if (CALL_P (SET_SRC (pat))) + if (GET_CODE (SET_SRC (pat)) == CALL) mark_call (insn); } @@ -2785,13 +2785,13 @@ mark_oprs_set (rtx insn) mark_set (x, insn); else if (GET_CODE (x) == CLOBBER) mark_clobber (x, insn); - else if (CALL_P (x)) + else if (GET_CODE (x) == CALL) mark_call (insn); } else if (GET_CODE (pat) == CLOBBER) mark_clobber (pat, insn); - else if (CALL_P (pat)) + else if (GET_CODE (pat) == CALL) mark_call (insn); }