Commit 4b498f72 by Jakub Jelinek Committed by Jakub Jelinek

emit-rtl.c (verify_insn_sharing): Call verify_rtx_sharing instead of reset_used_flags.

	* emit-rtl.c (verify_insn_sharing): Call verify_rtx_sharing instead of
	reset_used_flags.

From-SVN: r243019
parent 7bbc950b
2016-11-30 Jakub Jelinek <jakub@redhat.com> 2016-11-30 Jakub Jelinek <jakub@redhat.com>
* emit-rtl.c (verify_insn_sharing): Call verify_rtx_sharing instead of
reset_used_flags.
* config/i386/i386.c (dimode_scalar_chain::convert_op): Avoid * config/i386/i386.c (dimode_scalar_chain::convert_op): Avoid
sharing the SUBREG rtx between move and following insn. sharing the SUBREG rtx between move and following insn.
...@@ -2826,10 +2826,10 @@ static void ...@@ -2826,10 +2826,10 @@ static void
verify_insn_sharing (rtx insn) verify_insn_sharing (rtx insn)
{ {
gcc_assert (INSN_P (insn)); gcc_assert (INSN_P (insn));
reset_used_flags (PATTERN (insn)); verify_rtx_sharing (PATTERN (insn), insn);
reset_used_flags (REG_NOTES (insn)); verify_rtx_sharing (REG_NOTES (insn), insn);
if (CALL_P (insn)) if (CALL_P (insn))
reset_used_flags (CALL_INSN_FUNCTION_USAGE (insn)); verify_rtx_sharing (CALL_INSN_FUNCTION_USAGE (insn), insn);
} }
/* Go through all the RTL insn bodies and check that there is no unexpected /* Go through all the RTL insn bodies and check that there is no unexpected
......
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