re PR tree-optimization/68786 (Aligned masked store is generated for unaligned pointer)
authorJakub Jelinek <jakub@redhat.com>
Wed, 9 Dec 2015 13:42:06 +0000 (14:42 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 9 Dec 2015 13:42:06 +0000 (14:42 +0100)
commit08554c26c4541be7d6ec0fec4d8810e97f56caab
tree502f1c7099772546308e02600f4ab82c0d8b35ab
parente56c602ea3335648e81411442a66e52dd129dc3b
re PR tree-optimization/68786 (Aligned masked store is generated for unaligned pointer)

PR tree-optimization/68786
* tree-if-conv.c: Include builtins.h.
(predicate_mem_writes): Put result of get_object_alignment (ref)
into second argument's value.
* tree-vect-stmts.c (vectorizable_mask_load_store): Put minimum
pointer alignment into second argument's value.
* tree-data-ref.c (get_references_in_stmt): Use value of second
argument for build_aligned_type, and only the type to build
a zero second argument for MEM_REF.
* internal-fn.c (expand_mask_load_optab_fn,
expand_mask_store_optab_fn): Likewise.

From-SVN: r231454
gcc/ChangeLog
gcc/internal-fn.c
gcc/tree-data-ref.c
gcc/tree-if-conv.c
gcc/tree-vect-stmts.c