OSDN Git Service

2009-04-16 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 16 Apr 2009 12:44:46 +0000 (12:44 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 16 Apr 2009 12:44:46 +0000 (12:44 +0000)
commit1efcacec695000770deef50698e4d3d5eb2c8b05
tree6d0cf456ca1d23a6929bcb816d7d099e283934cd
parent0793eba56f0ea360620c1e8948899d00cb11a7b4
2009-04-16  Richard Guenther  <rguenther@suse.de>
Ira Rosen  <irar@il.ibm.com>

PR tree-optimization/39698
* tree-vect-loop.c (get_initial_def_for_reduction): Use the
type of the reduction variable.  Only generate the def if
it is needed.

* omp-low.c (expand_omp_for_generic): When converting to a pointer
make sure to first convert to an integer of the same precision.
* tree-vect-loop-manip.c (vect_update_ivs_after_vectorizer): Retain
the type of the evolution correctly in computing the new
induction variable base.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@146180 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/omp-low.c
gcc/tree-vect-loop-manip.c
gcc/tree-vect-loop.c