[Bug tree-optimization/71366] [7 Regression] ICE on valid code at -O3 on x86_64-linux-gnu: Segmentation fault

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jun 1 14:06:00 GMT 2016


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


More information about the Gcc-bugs mailing list