aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-data-ref.c
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2008-11-03 12:32:52 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2008-11-03 12:32:52 +0000
commitda4b6efcd6ed9d2c6f3b100dc8552753276df586 (patch)
tree80c65546172fbb0171b4c185c1f162c7571929c7 /gcc/tree-data-ref.c
parent2a81fe20dd558aef586fb7aa5c53779e129bc961 (diff)
downloadgcc-da4b6efcd6ed9d2c6f3b100dc8552753276df586.zip
gcc-da4b6efcd6ed9d2c6f3b100dc8552753276df586.tar.gz
gcc-da4b6efcd6ed9d2c6f3b100dc8552753276df586.tar.bz2
re PR tree-optimization/37573 (gcc-4.4 regression: incorrect code generation with -O1 -ftree-vectorize)
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. Co-Authored-By: Jakub Jelinek <jakub@redhat.com> From-SVN: r141547
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 9412414..4f1a9fd 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;