diff options
author | Richard Guenther <rguenther@suse.de> | 2007-11-20 15:16:25 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2007-11-20 15:16:25 +0000 |
commit | 8ef62eeb746043239772dd99ad2cff5176735713 (patch) | |
tree | 59272568e1491b41aa8b2b5d380b8dabbdf8eec2 /gcc/tree-ssa-operands.c | |
parent | f22aa574dc04c5a06f068b1793fc092071661a18 (diff) | |
download | gcc-8ef62eeb746043239772dd99ad2cff5176735713.zip gcc-8ef62eeb746043239772dd99ad2cff5176735713.tar.gz gcc-8ef62eeb746043239772dd99ad2cff5176735713.tar.bz2 |
tree-ssa-operands.c (add_virtual_operand): Consistently prune accesses.
2007-11-20 Richard Guenther <rguenther@suse.de>
* tree-ssa-operands.c (add_virtual_operand): Consistently prune
accesses.
* gcc.c-torture/execute/20071120-1.c: New testcase.
From-SVN: r130315
Diffstat (limited to 'gcc/tree-ssa-operands.c')
-rw-r--r-- | gcc/tree-ssa-operands.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/tree-ssa-operands.c b/gcc/tree-ssa-operands.c index 1f491ca..36cf624 100644 --- a/gcc/tree-ssa-operands.c +++ b/gcc/tree-ssa-operands.c @@ -1531,7 +1531,6 @@ add_virtual_operand (tree var, stmt_ann_t s_ann, int flags, unspecified [0, -1], we cannot prune it. Otherwise try doing so using access_can_touch_variable. */ if (full_ref - && !(offset == 0 && size == -1) && !access_can_touch_variable (full_ref, al, offset, size)) continue; |