This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/82574] [8 Regression] wrong code at -O3 on x86_64-linux-gnu
- From: "amker at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 18 Oct 2017 15:56:47 +0000
- Subject: [Bug tree-optimization/82574] [8 Regression] wrong code at -O3 on x86_64-linux-gnu
- Auto-submitted: auto-generated
- References: <bug-82574-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82574
--- Comment #3 from amker at gcc dot gnu.org ---
Author: amker
Date: Wed Oct 18 15:56:15 2017
New Revision: 253857
URL: https://gcc.gnu.org/viewcvs?rev=253857&root=gcc&view=rev
Log:
PR tree-optimization/82574
* tree-loop-distribution.c (find_single_drs): New parameter. Check
that data reference must be executed exactly once per iteration
against the outermost loop in nest.
(classify_partition): Update call to above function.
gcc/testsuite
* gcc.dg/tree-ssa/pr82574.c: New test.
Added:
trunk/gcc/testsuite/gcc.dg/tree-ssa/pr82574.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-loop-distribution.c