aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.h
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2012-07-18 10:46:05 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2012-07-18 10:46:05 +0000
commit4c9bcf893467201acbdc6944c8c2d0cbe67972dc (patch)
treea29a811549836915e77e5838f455d345d6548dd7 /gcc/tree.h
parentb0f4a35f73d421cac856149de1756a51d833adb3 (diff)
downloadgcc-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.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/gcc/tree.h b/gcc/tree.h
index 2261f2d..62d6645 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -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. */