Commit 6848da6a by Zdenek Dvorak Committed by Zdenek Dvorak

re PR rtl-optimization/32405 (assertion failure in loop-iv.c; probable dataflow regression)

	PR rtl-optimization/32405
	* loop-iv.c (iv_get_reaching_def): Fail for partial defs.

From-SVN: r125881
parent 6330585d
2007-06-20 Zdenek Dvorak <dvorakz@suse.cz>
PR rtl-optimization/32405
* loop-iv.c (iv_get_reaching_def): Fail for partial defs.
2007-06-20 Jakub Jelinek <jakub@redhat.com>
* Makefile.in (omega.o): Depend on $(DIAGNOSTIC_H).
......
......@@ -347,6 +347,11 @@ iv_get_reaching_def (rtx insn, rtx reg, struct df_ref **def)
return GRD_INVALID;
adef = DF_REF_CHAIN (use)->ref;
/* We do not handle setting only part of the register. */
if (adef->flags & DF_REF_READ_WRITE)
return GRD_INVALID;
def_insn = DF_REF_INSN (adef);
def_bb = DF_REF_BB (adef);
use_bb = BLOCK_FOR_INSN (insn);
......
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