summaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-structalias.c
diff options
context:
space:
mode:
authorbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2008-06-03 12:21:57 +0000
committerbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2008-06-03 12:21:57 +0000
commit5aad3a1f837387a283a2e99c470ff0fa6e755ac1 (patch)
tree3833f8ee2d85a81c308772d0e26dad14bef7f485 /gcc/tree-ssa-structalias.c
parentfb1cbf227e61635efe489075036cf57ab2ac7dea (diff)
downloadgcc-5aad3a1f837387a283a2e99c470ff0fa6e755ac1.tar.gz
2008-06-03 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk r136317 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@136318 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-ssa-structalias.c')
-rw-r--r--gcc/tree-ssa-structalias.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-ssa-structalias.c b/gcc/tree-ssa-structalias.c
index b6d73ce66f4..0e422146f9b 100644
--- a/gcc/tree-ssa-structalias.c
+++ b/gcc/tree-ssa-structalias.c
@@ -3726,7 +3726,7 @@ find_func_aliases (tree origt)
if (TREE_CODE (t) == GIMPLE_MODIFY_STMT)
{
handle_rhs_call (GIMPLE_STMT_OPERAND (t, 1));
- if (POINTER_TYPE_P (TREE_TYPE (GIMPLE_STMT_OPERAND (t, 1))))
+ if (could_have_pointers (GIMPLE_STMT_OPERAND (t, 1)))
handle_lhs_call (GIMPLE_STMT_OPERAND (t, 0));
}
else