This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/69108] [6 Regression] ICE in gather_scalar_reductions with -ftree-parallelize-loops=2
- From: "vries at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 11 Jan 2016 09:20:04 +0000
- Subject: [Bug tree-optimization/69108] [6 Regression] ICE in gather_scalar_reductions with -ftree-parallelize-loops=2
- Auto-submitted: auto-generated
- References: <bug-69108-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69108
--- Comment #3 from vries at gcc dot gnu.org ---
Author: vries
Date: Mon Jan 11 09:19:33 2016
New Revision: 232211
URL: https://gcc.gnu.org/viewcvs?rev=232211&root=gcc&view=rev
Log:
Handle case that outer phi res is not used in a phi in gather_scalar_reductions
2016-01-11 Tom de Vries <tom@codesourcery.com>
PR tree-optimization/69108
* tree-parloops.c (gather_scalar_reductions): Handle case that outer
phi
res is not used in a phi.
* gcc.dg/autopar/pr69108.c: New test.
Added:
trunk/gcc/testsuite/gcc.dg/autopar/pr69108.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-parloops.c