re PR tree-optimization/65935 (433.milc in SPEC CPU 2006 is miscompiled)
authorRichard Biener <rguenther@suse.de>
Mon, 4 May 2015 13:31:02 +0000 (13:31 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 4 May 2015 13:31:02 +0000 (13:31 +0000)
commit7457466941a2a06b99731bb7ed3ab90ba37b8110
treeb4165f54c0015b1933b734920539b2fae5aa2aaa
parenta6c014db508f18416e5863907db1b628acfe021b
re PR tree-optimization/65935 (433.milc in SPEC CPU 2006 is miscompiled)

2015-05-04  Richard Biener  <rguenther@suse.de>

PR tree-optimization/65935
* tree-vect-slp.c (vect_build_slp_tree): If we swapped operands
then make sure to apply that swapping to the IL.

* gcc.dg/vect/bb-slp-pr65935.c: New testcase.

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