re PR tree-optimization/90006 (gcc loops indefinitely around vect_get_constant_vector...
authorRichard Biener <rguenther@suse.de>
Mon, 8 Apr 2019 13:54:02 +0000 (13:54 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 8 Apr 2019 13:54:02 +0000 (13:54 +0000)
commita265c9a929b4ca727e9b0c93eb98e15244f2735c
treeb058f1cb2343f3c7617a416d726b7a0c79311399
parentb8e214c6b32789f96256bf1a89490dbc550a9dc8
re PR tree-optimization/90006 (gcc loops indefinitely around vect_get_constant_vectors on -O2 -ftree-slp-vectorize -fno-math-errno)

2019-04-08  Richard Biener  <rguenther@suse.de>

PR tree-optimization/90006
* tree-vect-data-refs.c (vect_get_smallest_scalar_type): Handle
calls like lrint.

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

From-SVN: r270210
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vect/bb-slp-pr90006.c [new file with mode: 0644]
gcc/tree-vect-data-refs.c