diff options
Diffstat (limited to 'gcc/tree-inline.c')
-rw-r--r-- | gcc/tree-inline.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/tree-inline.c b/gcc/tree-inline.c index d2f1a0e..e4bdf12 100644 --- a/gcc/tree-inline.c +++ b/gcc/tree-inline.c @@ -1530,10 +1530,9 @@ walk_tree (tp, func, data, htab_) /* Don't walk the same tree twice, if the user has requested that we avoid doing so. */ - if (htab_find (htab, *tp)) - return NULL_TREE; - /* If we haven't already seen this node, add it to the table. */ slot = htab_find_slot (htab, *tp, INSERT); + if (*slot) + return NULL_TREE; *slot = *tp; } |