invoke.texi (-fpeel-loops,-O3): Update documentation.
authorJan Hubicka <hubicka@ucw.cz>
Mon, 30 May 2016 17:58:19 +0000 (19:58 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Mon, 30 May 2016 17:58:19 +0000 (17:58 +0000)
commita448ff403b72f8e9d914a63d89ebca8246dad0ef
tree1618933ba1605bd935706f18f0ece6f212807cf5
parent83e0b73912068e0f42204df117e5f7a2a2e349e1
invoke.texi (-fpeel-loops,-O3): Update documentation.

* 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.

From-SVN: r236892
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