re PR tree-optimization/91750 (Induction vectorization introduces signed overflows)
authorRichard Biener <rguenther@suse.de>
Thu, 12 Sep 2019 12:48:43 +0000 (12:48 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 12 Sep 2019 12:48:43 +0000 (12:48 +0000)
commitbdc91a3299f955ed6b862adf0f2fea6d5496bc31
treef2c9d12477a656f7eb9eb58f6bf0675542611051
parent52f6afe06dd86a25b41688ad12dd124b23f27833
re PR tree-optimization/91750 (Induction vectorization introduces signed overflows)

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

PR tree-optimization/91750
* tree-vect-loop.c (vectorizable_induction): Compute IV increments
in the type of the evolution.

* gcc.dg/vect/pr91750.c: New testcase.

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