[Bug middle-end/53408] [4.6/4.7/4.8 Regression] ICE in get_initial_def_for_induction, at tree-vect-loop.c:3222

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon May 21 12:49:00 GMT 2012


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

--- Comment #3 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-05-21 12:46:04 UTC ---
Author: rguenth
Date: Mon May 21 12:45:59 2012
New Revision: 187710

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=187710
Log:
2012-05-21  Richard Guenther  <rguenther@suse.de>

    PR tree-optimization/53408
    * tree-vect-loop.c (vectorizable_induction): Properly check
    the restriction that we cannot handle induction results from
    the inner loop outside of the outer loop.

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

Added:
    trunk/gcc/testsuite/gcc.dg/torture/pr53408.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-vect-loop.c



More information about the Gcc-bugs mailing list