summaryrefslogtreecommitdiff
path: root/gcc/tree-data-ref.c
diff options
context:
space:
mode:
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2008-11-03 12:32:52 +0000
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2008-11-03 12:32:52 +0000
commit97d819e5d8182bb76f1f9c0da905d3beff3ad646 (patch)
tree80c65546172fbb0171b4c185c1f162c7571929c7 /gcc/tree-data-ref.c
parenta8940b843be070a16a46bc296785b82fa1430493 (diff)
downloadgcc-97d819e5d8182bb76f1f9c0da905d3beff3ad646.tar.gz
2008-11-03 Richard Guenther <rguenther@suse.de>
PR middle-end/37573 * tree-data-ref.c (split_constant_offset_1): Fix tuplification. * gcc.c-torture/execute/pr37573.c: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@141547 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-data-ref.c')
-rw-r--r--gcc/tree-data-ref.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/tree-data-ref.c b/gcc/tree-data-ref.c
index 94124141a25..4f1a9fddb43 100644
--- a/gcc/tree-data-ref.c
+++ b/gcc/tree-data-ref.c
@@ -551,6 +551,7 @@ split_constant_offset_1 (tree type, tree op0, enum tree_code code, tree op1,
enum machine_mode pmode;
int punsignedp, pvolatilep;
+ op0 = TREE_OPERAND (op0, 0);
if (!handled_component_p (op0))
return false;