diff options
author | Richard Guenther <rguenther@suse.de> | 2012-07-18 10:46:05 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2012-07-18 10:46:05 +0000 |
commit | 4c9bcf893467201acbdc6944c8c2d0cbe67972dc (patch) | |
tree | a29a811549836915e77e5838f455d345d6548dd7 /gcc/tree.h | |
parent | b0f4a35f73d421cac856149de1756a51d833adb3 (diff) | |
download | gcc-4c9bcf893467201acbdc6944c8c2d0cbe67972dc.zip gcc-4c9bcf893467201acbdc6944c8c2d0cbe67972dc.tar.gz gcc-4c9bcf893467201acbdc6944c8c2d0cbe67972dc.tar.bz2 |
re PR tree-optimization/53970 (-ftree-vectorization does not handle well unaligned data)
2012-07-18 Richard Guenther <rguenther@suse.de>
PR tree-optimization/53970
* tree.h (contains_packed_reference): Remove.
* expr.c (contains_packed_reference): Likewise.
* tree-vect-data-refs.c (not_size_aligned): New function.
(vector_alignment_reachable_p): Use it.
(vect_supportable_dr_alignment): Likewise.
* g++.dg/torture/pr53970.C: New testcase.
From-SVN: r189609
Diffstat (limited to 'gcc/tree.h')
-rw-r--r-- | gcc/tree.h | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -5068,12 +5068,6 @@ extern tree get_inner_reference (tree, HOST_WIDE_INT *, HOST_WIDE_INT *, tree *, enum machine_mode *, int *, int *, bool); -/* Given an expression EXP that may be a COMPONENT_REF, an ARRAY_REF or an - ARRAY_RANGE_REF, look for whether EXP or any nested component-refs within - EXP is marked as PACKED. */ - -extern bool contains_packed_reference (const_tree exp); - /* Return a tree of sizetype representing the size, in bytes, of the element of EXP, an ARRAY_REF or an ARRAY_RANGE_REF. */ |