Commit c63b1ae8 by Andrew MacLeod Committed by Andrew Macleod

gcse.c (compute_hash_table): The SRC part of an insn with a RETVAL note should…

gcse.c (compute_hash_table): The SRC part of an insn with a RETVAL note should not be considered outside the...


2001-08-29  Andrew MacLeod  <amacleod@redhat.com>

	* gcse.c (compute_hash_table): The SRC part of an insn with a RETVAL
	note should not be considered outside the libcall block.

From-SVN: r45276
parent c8643122
2001-08-29 Andrew MacLeod <amacleod@redhat.com>
* gcse.c (compute_hash_table): The SRC part of an insn with a RETVAL
note should not be considered outside the libcall block.
2001-08-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* genattrtab.c (attr_printf): Use VA_OPEN/VA_FIXEDARG/VA_CLOSE.
......
......@@ -2545,10 +2545,12 @@ compute_hash_table (set_p)
if (INSN_P (insn))
{
if (find_reg_note (insn, REG_LIBCALL, NULL_RTX))
in_libcall_block = 1;
else if (find_reg_note (insn, REG_RETVAL, NULL_RTX))
in_libcall_block = 0;
hash_scan_insn (insn, set_p, in_libcall_block);
in_libcall_block = 1;
else if (set_p && find_reg_note (insn, REG_RETVAL, NULL_RTX))
in_libcall_block = 0;
hash_scan_insn (insn, set_p, in_libcall_block);
if (!set_p && find_reg_note (insn, REG_RETVAL, NULL_RTX))
in_libcall_block = 0;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment