[PATCH, vectorizer]: Fix PR tree-optimize/30938: Fix off-by-one error in vectorizable_call()
Uros Bizjak
ubizjak@gmail.com
Mon Feb 26 12:10:00 GMT 2007
Hello!
This [obvious] patch fixes off-by-one error in vectorizable_call()
function. With this patch, x86_64 can be bootstrapped with -ftree-vectorize.
Patch was bootstrapped on x86_64-pc-linux-gnu (with -O2 -g
-ftree-vectorize) and regression tested on vectorizer testcases. Patch
was commited to SVN as obvious.
2007-02-25 Uros Bizjak <ubizjak@gmail.com>
PR tree-optimization/30938
* tree-vect-transform.c (vectorizable_call): Fix off-by-one error:
use &dt[nargs-1] instead of &dt[nargs] in the call to
vect_is_simple_use().
Uros.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr30938.diff
Type: text/x-patch
Size: 499 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20070226/c3886b81/attachment.bin>
More information about the Gcc-patches
mailing list