diff options
author | rakdver <rakdver@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-11-18 10:31:45 +0000 |
---|---|---|
committer | rakdver <rakdver@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-11-18 10:31:45 +0000 |
commit | 19ef37057325968e1b37230b6103b284e2abe95e (patch) | |
tree | c823903e76fe0992662c06da059ea8ad24f65977 /gcc/loop-unroll.c | |
parent | 5bacce6be26fd8fa6ce36ed5a38cf3b4167773ad (diff) | |
download | gcc-19ef37057325968e1b37230b6103b284e2abe95e.tar.gz |
PR rtl-optimization/24497
* loop-unroll.c (apply_opt_in_copies): Do not verify equality of
the copied insn.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107171 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/loop-unroll.c')
-rw-r--r-- | gcc/loop-unroll.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/gcc/loop-unroll.c b/gcc/loop-unroll.c index 4cabfd58504..69b1eb675c0 100644 --- a/gcc/loop-unroll.c +++ b/gcc/loop-unroll.c @@ -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); } } |