This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r263528 - in /branches/gcc-8-branch/gcc: Change...
- From: rsandifo at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 14 Aug 2018 09:24:47 -0000
- Subject: r263528 - in /branches/gcc-8-branch/gcc: Change...
Author: rsandifo
Date: Tue Aug 14 09:24:45 2018
New Revision: 263528
URL: https://gcc.gnu.org/viewcvs?rev=263528&root=gcc&view=rev
Log:
Fix invalid assumption in vect_transform_stmt (PR 86871)
The handling of outer-loop uses of inner-loop definitions assumed
that anything that wasn't a PHI would be a gassign. It's also
possible for it to be a gcall.
2018-08-14 Richard Sandiford <richard.sandiford@arm.com>
gcc/
Backport from mainline
2018-08-09 Richard Sandiford <richard.sandiford@arm.com>
PR tree-optimization/86871
* tree-vect-stmts.c (vect_transform_stmt): Use gimple_get_lhs
instead of gimple_assign_lhs.
gcc/testsuite/
Backport from mainline
2018-08-09 Richard Sandiford <richard.sandiford@arm.com>
PR tree-optimization/86871
* gcc.dg/vect/pr86871.c: New test.
Added:
branches/gcc-8-branch/gcc/testsuite/gcc.dg/vect/pr86871.c
Modified:
branches/gcc-8-branch/gcc/ChangeLog
branches/gcc-8-branch/gcc/testsuite/ChangeLog
branches/gcc-8-branch/gcc/tree-vect-stmts.c