This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/71366] [7 Regression] ICE on valid code at -O3 on x86_64-linux-gnu: Segmentation fault
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 01 Jun 2016 14:05:54 +0000
- Subject: [Bug tree-optimization/71366] [7 Regression] ICE on valid code at -O3 on x86_64-linux-gnu: Segmentation fault
- Auto-submitted: auto-generated
- References: <bug-71366-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71366
--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Wed Jun 1 14:05:22 2016
New Revision: 236993
URL: https://gcc.gnu.org/viewcvs?rev=236993&root=gcc&view=rev
Log:
2016-06-01 Richard Biener <rguenther@suse.de>
PR tree-optimization/71366
* tree-ssa-loop-ivcanon.c (edges_to_remove): New global.
(unloop_loops): Move removing edges here ...
(try_unroll_loop_completely): ... from here.
(try_peel_loop): ... and here.
(tree_unroll_loops_completely_1): Track parent loops via
bitmap of header BBs.
(tree_unroll_loops_completely): Adjust for that.
* gcc.dg/torture/pr71366-1.c: New testcase.
* gcc.dg/torture/pr71366-2.c: Likewise.
Added:
trunk/gcc/testsuite/gcc.dg/torture/pr71366-1.c
trunk/gcc/testsuite/gcc.dg/torture/pr71366-2.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-ssa-loop-ivcanon.c