]> git.ipfire.org Git - thirdparty/gcc.git/commit
backport: re PR tree-optimization/60960 (Wrong result when a vector variable is divid...
authorJakub Jelinek <jakub@redhat.com>
Mon, 5 May 2014 08:16:43 +0000 (10:16 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 5 May 2014 08:16:43 +0000 (10:16 +0200)
commitce500639f71a996cf89299fb206fdb93c8f3c264
tree2946e696418630a66b32ab828118db80802028f9
parent2abf67887ad0b0ce101d0a13ec21fb4f0ae5a9d9
backport: re PR tree-optimization/60960 (Wrong result when a vector variable is divided by a literal constant)

Backported from mainline
2014-04-25  Jakub Jelinek  <jakub@redhat.com>

PR tree-optimization/60960
* tree-vect-generic.c (expand_vector_operation): Only call
expand_vector_divmod if type's mode satisfies VECTOR_MODE_P.

* gcc.c-torture/execute/pr60960.c: New test.

From-SVN: r210064
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/pr60960.c [new file with mode: 0644]
gcc/tree-vect-generic.c