re PR tree-optimization/92690 (vector CTOR optimization performs invalid conversion)
authorRichard Biener <rguenther@suse.de>
Wed, 27 Nov 2019 12:16:54 +0000 (12:16 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 27 Nov 2019 12:16:54 +0000 (12:16 +0000)
commit88feafba3cb5b186d53080c4958474065c4bd5d2
tree7298af26e95c1f2a3f422cd75c35c6b583284c5e
parentb7b848f5d7984a9984e0a518b75ff91a0de0cb32
re PR tree-optimization/92690 (vector CTOR optimization performs invalid conversion)

2019-11-27  Richard Biener  <rguenther@suse.de>

PR tree-optimization/92690
* tree-ssa-forwprop.c (simplify_vector_constructor): Avoid
converting elements not originally converted.

* gcc.dg/torture/pr92690.c: New testcase.
* gcc.dg/tree-ssa/forwprop-35.c: Adjust.

From-SVN: r278764
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr92690.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/tree-ssa/forwprop-35.c
gcc/tree-ssa-forwprop.c