Skip to content
Snippets Groups Projects
Commit 1ff3ac02 authored by Richard Sandiford's avatar Richard Sandiford Committed by Richard Sandiford
Browse files

re PR rtl-optimization/25514 (internal consistency failure)

	PR rtl-optimization/25514
	* combine.c (replaced_rhs_insn): New variable.
	(combine_instructions): Set replaced_rhs_insn when trying to replace
	a SET_SRC with a REG_EQUAL note.
	(distribute_notes): Use replaced_rhs_insn when determining the live
	range of a REG_DEAD register.

gcc/testsute
	* gcc.c-torture/compile/pr25514.c: New test.

From-SVN: r113983
parent 8c21550d
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment