diff options
author | aldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-12-05 17:26:05 +0000 |
---|---|---|
committer | aldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-12-05 17:26:05 +0000 |
commit | 35cc02b5c80ac6738c1a3362a822e3d7e4d0c587 (patch) | |
tree | 32d3ee1ddfcad180d619d756a84eeb0df779a6a2 /gcc/cgraphunit.c | |
parent | fc297ba47e780c3659434d04f3c299b705154d5f (diff) | |
download | gcc-35cc02b5c80ac6738c1a3362a822e3d7e4d0c587.tar.gz |
Merge gimple-tuples-branch into mainline.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@119546 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cgraphunit.c')
-rw-r--r-- | gcc/cgraphunit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cgraphunit.c b/gcc/cgraphunit.c index 1e76777d663..240ac85bd22 100644 --- a/gcc/cgraphunit.c +++ b/gcc/cgraphunit.c @@ -591,8 +591,8 @@ cgraph_create_edges (struct cgraph_node *node, tree body) bb->loop_depth); walk_tree (&TREE_OPERAND (call, 1), record_reference, node, visited_nodes); - if (TREE_CODE (stmt) == MODIFY_EXPR) - walk_tree (&TREE_OPERAND (stmt, 0), + if (TREE_CODE (stmt) == GIMPLE_MODIFY_STMT) + walk_tree (&GIMPLE_STMT_OPERAND (stmt, 0), record_reference, node, visited_nodes); } else |