re PR tree-optimization/36493 (vectorizer aliasing bug)
authorIra Rosen <irar@il.ibm.com>
Mon, 16 Jun 2008 10:39:07 +0000 (10:39 +0000)
committerIra Rosen <irar@gcc.gnu.org>
Mon, 16 Jun 2008 10:39:07 +0000 (10:39 +0000)
commit54269f054f818c6bc958242809b5f766dc758cf4
treef7ada106868dc6feee115753eee2066ceab6839d
parent7364f2868c8ac21e519725d716bc13f02b19684f
re PR tree-optimization/36493 (vectorizer aliasing bug)

PR tree-optimization/36493
* tree-vect-transform.c (vect_create_data_ref_ptr): Remove TYPE from
the arguments list. Use VECTYPE to create vector pointer.
(vectorizable_store): Fail if accesses through a pointer to vectype
do not alias the original memory reference operands.
Call vect_create_data_ref_ptr without the removed argument.
(vectorizable_load): Likewise.
(vect_setup_realignment): Call vect_create_data_ref_ptr without the
removed argument.

From-SVN: r136843
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vect/pr36493.c [new file with mode: 0644]
gcc/tree-vect-transform.c