This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/53408] [4.6/4.7/4.8 Regression] ICE in get_initial_def_for_induction, at tree-vect-loop.c:3222
- 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: Mon, 21 May 2012 12:46:04 +0000
- Subject: [Bug middle-end/53408] [4.6/4.7/4.8 Regression] ICE in get_initial_def_for_induction, at tree-vect-loop.c:3222
- Auto-submitted: auto-generated
- References: <bug-53408-4@http.gcc.gnu.org/bugzilla/>
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