re PR tree-optimization/53970 (-ftree-vectorization does not handle well unaligned data)
2012-07-19 Richard Guenther <rguenther@suse.de> PR tree-optimization/53970 * tree-vect-data-refs.c (not_size_aligned): Avoid sign-compare warning. From-SVN: r189647
This commit is contained in:
parent
bf1431e359
commit
cd1cae3590
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
2012-07-19 Richard Guenther <rguenther@suse.de>
|
||||
|
||||
PR tree-optimization/53970
|
||||
* tree-vect-data-refs.c (not_size_aligned): Avoid sign-compare
|
||||
warning.
|
||||
|
||||
2012-07-19 Tristan Gingold <gingold@adacore.com>
|
||||
Richard Henderson <rth@redhat.com>
|
||||
|
||||
|
|
|
@ -1140,7 +1140,7 @@ not_size_aligned (tree exp)
|
|||
if (!host_integerp (TYPE_SIZE (TREE_TYPE (exp)), 1))
|
||||
return true;
|
||||
|
||||
return (tree_low_cst (TYPE_SIZE (TREE_TYPE (exp)), 1)
|
||||
return (TREE_INT_CST_LOW (TYPE_SIZE (TREE_TYPE (exp)))
|
||||
> get_object_alignment (exp));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue