aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-data-ref.c
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2011-10-13 09:00:01 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2011-10-13 09:00:01 +0000
commit6c9fbfa72eea6d4a8689831977bfde2072fc195a (patch)
treed3f78aadaeb5c9953ec708cce0af36c10785d82e /gcc/tree-data-ref.c
parentee9488e6a297a3ce03c1861d1fc7f51481ae8f8d (diff)
downloadgcc-6c9fbfa72eea6d4a8689831977bfde2072fc195a.zip
gcc-6c9fbfa72eea6d4a8689831977bfde2072fc195a.tar.gz
gcc-6c9fbfa72eea6d4a8689831977bfde2072fc195a.tar.bz2
re PR tree-optimization/50698 (pretending to create versioning for alias when not required)
2011-10-13 Richard Guenther <rguenther@suse.de> PR tree-optimization/50698 * tree-data-ref.c (split_constant_offset_1): Also process offsets of &MEM. * g++.dg/vect/pr50698.cc: New testcase. From-SVN: r179895
Diffstat (limited to 'gcc/tree-data-ref.c')
-rw-r--r--gcc/tree-data-ref.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gcc/tree-data-ref.c b/gcc/tree-data-ref.c
index a4c9367..053ffea 100644
--- a/gcc/tree-data-ref.c
+++ b/gcc/tree-data-ref.c
@@ -589,9 +589,6 @@ split_constant_offset_1 (tree type, tree op0, enum tree_code code, tree op1,
int punsignedp, pvolatilep;
op0 = TREE_OPERAND (op0, 0);
- if (!handled_component_p (op0))
- return false;
-
base = get_inner_reference (op0, &pbitsize, &pbitpos, &poffset,
&pmode, &punsignedp, &pvolatilep, false);