aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-alias.c
diff options
context:
space:
mode:
authorDaniel Berlin <dberlin@dberlin.org>2007-08-27 14:18:36 +0000
committerDaniel Berlin <dberlin@gcc.gnu.org>2007-08-27 14:18:36 +0000
commit11df3da358dd7a2b946004bee03a9bad6bd875a5 (patch)
treeb3f35f56863b101cfcb0e6c890ab06e52b5ca5e9 /gcc/tree-ssa-alias.c
parent62d75179760ebc60b025194c86ae0b5ee3695fe0 (diff)
downloadgcc-11df3da358dd7a2b946004bee03a9bad6bd875a5.zip
gcc-11df3da358dd7a2b946004bee03a9bad6bd875a5.tar.gz
gcc-11df3da358dd7a2b946004bee03a9bad6bd875a5.tar.bz2
re PR tree-optimization/33173 (ICE in set_uids_in_ptset, at tree-ssa-structalias.c:4704)
2007-08-27 Daniel Berlin <dberlin@dberlin.org> Fix PR tree-optimization/33173 * tree-ssa-alias.c (find_used_portions): Fix reversed test. From-SVN: r127834
Diffstat (limited to 'gcc/tree-ssa-alias.c')
-rw-r--r--gcc/tree-ssa-alias.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-ssa-alias.c b/gcc/tree-ssa-alias.c
index 103a023..2dc2351 100644
--- a/gcc/tree-ssa-alias.c
+++ b/gcc/tree-ssa-alias.c
@@ -3967,7 +3967,7 @@ find_used_portions (tree *tp, int *walk_subtrees, void *lhs_p)
for (i = 0; i < nargs; i++)
{
tree *arg = &CALL_EXPR_ARG (*tp, i);
- if (TREE_CODE (*arg) != ADDR_EXPR)
+ if (TREE_CODE (*arg) == ADDR_EXPR)
find_used_portions (arg, walk_subtrees, NULL);
}
*walk_subtrees = 0;