This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/64081] [5 Regression] r217827 prevents RTL loop unroll
- From: "ienkovich at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 19 Jan 2015 13:59:26 +0000
- Subject: [Bug rtl-optimization/64081] [5 Regression] r217827 prevents RTL loop unroll
- Auto-submitted: auto-generated
- References: <bug-64081-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64081
--- Comment #3 from ienkovich at gcc dot gnu.org ---
Author: ienkovich
Date: Mon Jan 19 13:58:54 2015
New Revision: 219842
URL: https://gcc.gnu.org/viewcvs?rev=219842&root=gcc&view=rev
Log:
gcc/
PR rtl-optimization/64081
* loop-iv.c (def_pred_latch_p): New function.
(latch_dominating_def): Allow specific cases with non-single
definitions.
(iv_get_reaching_def): Likewise.
(check_complex_exit_p): New function.
(check_simple_exit): Use check_complex_exit_p to allow certain cases
with exits not executing on any iteration.
gcc/testsuite/
PR rtl-optimization/64081
* gcc.dg/pr64081.c: New test.
Added:
trunk/gcc/testsuite/gcc.dg/pr64081.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/loop-iv.c
trunk/gcc/testsuite/ChangeLog