re PR tree-optimization/65961 (ice in vect_is_simple_use_1 with -O3)
authorRichard Biener <rguenther@suse.de>
Tue, 2 Jun 2015 07:50:19 +0000 (07:50 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 2 Jun 2015 07:50:19 +0000 (07:50 +0000)
commit3fc356dcdc68bf3e44d8b08a0579b057021c95f4
tree9e29084b4af4a84e35f755a0790bf17700693d03
parent4c50b2212d92f84945a39df321f0eb10dedf98c7
re PR tree-optimization/65961 (ice in vect_is_simple_use_1 with -O3)

2015-06-02  Richard Biener  <rguenther@suse.de>

PR tree-optimization/65961
* tree-vect-slp.c (vect_get_and_check_slp_defs): Remove bogus
check and clarify dump message.
(vect_build_slp_tree): If all children are built up from scalars
build up the parent from scalars instead.
* tree-vect-stmts.c (vect_is_simple_use): Cleanup.

* gcc.dg/torture/pr65961.c: New testcase.

From-SVN: r224013
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr65961.c [new file with mode: 0644]
gcc/tree-vect-slp.c
gcc/tree-vect-stmts.c