re PR tree-optimization/65533 (252.eon in SPEC CPU 2000 failed to build)
authorJakub Jelinek <jakub@redhat.com>
Tue, 24 Mar 2015 10:45:09 +0000 (11:45 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 24 Mar 2015 10:45:09 +0000 (11:45 +0100)
commite72baed7e945f47609207ec8be4994e586e70649
treec3d4d2a9189cb110c596b2d57551573492b86299
parent34d9d74996badd2b9ee315903f916ebb7a8d422f
re PR tree-optimization/65533 (252.eon in SPEC CPU 2000 failed to build)

PR tree-optimization/65533
* tree-vect-slp.c (vect_build_slp_tree): Before re-trying
with swapped operands, call vect_free_slp_tree on
SLP_TREE_CHILDREN of child and truncate the SLP_TREE_CHILDREN
vector.

* gcc.dg/pr65533.c: New test.

From-SVN: r221622
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr65533.c [new file with mode: 0644]
gcc/tree-vect-slp.c