re PR target/90972 (ICE in fold_convert_loc, at fold-const.c:2429)
authorRichard Biener <rguenther@suse.de>
Mon, 24 Jun 2019 17:21:40 +0000 (17:21 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 24 Jun 2019 17:21:40 +0000 (17:21 +0000)
commitd611cec3de1e54091843019a0d02c23493d288ce
treec0b15c47569f9be00c072bf6bd8cf84491b489a7
parentbab9de71b45df56e3ad90aa817d7e23ea79d726d
re PR target/90972 (ICE in fold_convert_loc, at fold-const.c:2429)

2019-06-24  Richard Biener  <rguenther@suse.de>

PR tree-optimization/90972
* tree-vect-stmts.c (vect_init_vector): Handle CONSTANT_CLASS_P
in common code, dealing with STRING_CST properly.

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

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