This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

r232367 - in /trunk/gcc: ChangeLog testsuite/Ch...


Author: rguenth
Date: Thu Jan 14 15:13:19 2016
New Revision: 232367

URL: https://gcc.gnu.org/viewcvs?rev=232367&root=gcc&view=rev
Log:
2016-01-14  Richard Biener  <rguenther@suse.de>

	PR tree-optimization/68060
	* tree-vect-loop.c (vect_is_simple_reduction): Check the
	outer loop reduction is only used in the inner loop before
	detecting a double reduction.

	* gcc.dg/torture/pr68060-1.c: New testcase.
	* gcc.dg/torture/pr68060-2.c: Likewise.

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]