[Bug tree-optimization/60891] [4.9/4.10 Regression] ICE: SIGSEGV (Invalid write/read) in pre_and_rev_post_order_compute_fn with -O -fno-tree-ch -fno-tree-cselim -fno-tree-dominator-opts

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Apr 23 08:26:00 GMT 2014


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60891

--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Wed Apr 23 08:25:56 2014
New Revision: 209674

URL: http://gcc.gnu.org/viewcvs?rev=209674&root=gcc&view=rev
Log:
2014-04-23  Richard Biener  <rguenther@suse.de>

    PR middle-end/60891
    * loop-init.c (loop_optimizer_init): Make sure to apply
    LOOPS_MAY_HAVE_MULTIPLE_LATCHES before fixing up loops.

    * gcc.dg/torture/pr60891.c: New testcase.

Added:
    branches/gcc-4_9-branch/gcc/testsuite/gcc.dg/torture/pr60891.c
Modified:
    branches/gcc-4_9-branch/gcc/ChangeLog
    branches/gcc-4_9-branch/gcc/loop-init.c
    branches/gcc-4_9-branch/gcc/testsuite/ChangeLog



More information about the Gcc-bugs mailing list