re PR middle-end/78684 (ICE in create_intersect_range_checks_index, at tree-vect...
authorBin Cheng <bin.cheng@arm.com>
Thu, 8 Dec 2016 10:56:41 +0000 (10:56 +0000)
committerBin Cheng <amker@gcc.gnu.org>
Thu, 8 Dec 2016 10:56:41 +0000 (10:56 +0000)
commita5b03f2a17a7d41380de232bae2ab4800015407f
treef6d9ab2f801704b0ab09524609d6e2bd89bd9d9f
parent1adc60671c93ef3618983155d5a4304e3421614c
re PR middle-end/78684 (ICE in create_intersect_range_checks_index, at tree-vect-loop-manip.c:2074)

PR middle-end/78684
* tree-vect-loop-manip.c (create_intersect_range_checks_index): Check
sign bit for index step of data reference.
gcc/testsuite
PR middle-end/78684
* g++.dg/torture/pr78684.C: New test.

From-SVN: r243431
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/torture/pr78684.C [new file with mode: 0644]
gcc/tree-vect-loop-manip.c