* doc/invoke.texi (-fpeel-loops,-O3): Update documentation.
commitb96f81451195fa9e617ae598d26e6dfc15515169
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 30 May 2016 17:58:19 +0000 (30 17:58 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 30 May 2016 17:58:19 +0000 (30 17:58 +0000)
tree1618933ba1605bd935706f18f0ece6f212807cf5
parent6f3c9ee1cbbdf185c1298d2f6c2765171e8dd081
* doc/invoke.texi (-fpeel-loops,-O3): Update documentation.
* opts.c (default_options): Enable peel loops at -O3.
* tree-ssa-loop-ivcanon.c (peeled_loops): New static var.
(try_peel_loop): Do not re-peel already peeled loops;
use likely upper bounds; fix profile updating.
(pass_complete_unroll::execute): Initialize peeled_loops.

* gcc.dg/tree-ssa/peel1.c: New testcase.
* gcc.dg/tree-ssa/pr61743-1.c: Disable loop peeling.
* gcc.dg/tree-ssa/pr61743-2.c: Disable loop peeling.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@236892 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/doc/invoke.texi
gcc/opts.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/peel1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/tree-ssa/pr61743-1.c
gcc/testsuite/gcc.dg/tree-ssa/pr61743-2.c
gcc/tree-ssa-loop-ivcanon.c