re PR tree-optimization/92742 (ICE in info_for_reduction, at tree-vect-loop.c:4367)
authorRichard Biener <rguenther@suse.de>
Mon, 2 Dec 2019 10:50:45 +0000 (10:50 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 2 Dec 2019 10:50:45 +0000 (10:50 +0000)
commit2679730bab0202e7591adc6ac0ea1347b8954983
treec3aad6aba27d6cf0aab6744a87c069ec79ce806b
parenta213ab38560f0b95ec318b2a4795e66cc0518848
re PR tree-optimization/92742 (ICE in info_for_reduction, at tree-vect-loop.c:4367)

2019-12-02  Richard Biener  <rguenther@suse.de>

PR tree-optimization/92742
* tree-vect-loop.c (vect_fixup_reduc_chain): Do not
touch the def-type but verify it is consistent with the
original stmts.

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

From-SVN: r278896
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr92742.c [new file with mode: 0644]
gcc/tree-vect-loop.c