re PR rtl-optimization/24497 (internal compiler error: in apply_opt_in_copies, at loop-unroll.c:2122)

PR rtl-optimization/24497
	* loop-unroll.c (apply_opt_in_copies): Do not verify equality of
	the copied insn.

From-SVN: r107171
This commit is contained in:
Zdenek Dvorak 2005-11-18 11:31:45 +01:00 committed by Zdenek Dvorak
parent 925196ed52
commit 21f868a26a
2 changed files with 10 additions and 6 deletions

View File

@ -1,3 +1,9 @@
2005-11-18 Zdenek Dvorak <dvorakz@suse.cz>
PR rtl-optimization/24497
* loop-unroll.c (apply_opt_in_copies): Do not verify equality of
the copied insn.
2005-11-18 Zdenek Dvorak <dvorakz@suse.cz>
* tree-scalar-evolution.c (expression_expensive_p): New function.

View File

@ -2118,9 +2118,8 @@ apply_opt_in_copies (struct opt_info *opt_info,
if (ivts)
{
#ifdef ENABLE_CHECKING
gcc_assert (rtx_equal_p (PATTERN (insn), PATTERN (orig_insn)));
#endif
gcc_assert (GET_CODE (PATTERN (insn))
== GET_CODE (PATTERN (orig_insn)));
if (!delta)
insert_base_initialization (ivts, insn);
@ -2133,9 +2132,8 @@ apply_opt_in_copies (struct opt_info *opt_info,
ves = htab_find (opt_info->insns_with_var_to_expand, &ve_templ);
if (ves)
{
#ifdef ENABLE_CHECKING
gcc_assert (rtx_equal_p (PATTERN (insn), PATTERN (orig_insn)));
#endif
gcc_assert (GET_CODE (PATTERN (insn))
== GET_CODE (PATTERN (orig_insn)));
expand_var_during_unrolling (ves, insn);
}
}