diff options
author | steven <steven@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-07-08 19:44:17 +0000 |
---|---|---|
committer | steven <steven@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-07-08 19:44:17 +0000 |
commit | 46a0db457613590c1c77a66258f0dbcd1a77c6f2 (patch) | |
tree | 20adccaaafcd98efc427f57bfdc819e4ec959c91 /gcc/c-objc-common.c | |
parent | 494c31db928862e24f1996d5a40a4ce7a7b510a0 (diff) | |
download | gcc-46a0db457613590c1c77a66258f0dbcd1a77c6f2.tar.gz |
2003-07-08 Steven Bosscher <steven@gcc.gnu.org>
PR c/1687
* tree-inline.c (find_alloca_call): Use
walk_tree_without_duplicates, instead of walk_tree.
(find_builtin_longjmp_call): Likewise.
* c-objc-common.c (c_cannot_inline_fn): Likewise.
* c-semantics.c (find_reachable_label): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69097 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-objc-common.c')
-rw-r--r-- | gcc/c-objc-common.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/c-objc-common.c b/gcc/c-objc-common.c index 438b3fba808..e0a99a3ae87 100644 --- a/gcc/c-objc-common.c +++ b/gcc/c-objc-common.c @@ -211,7 +211,8 @@ c_cannot_inline_tree_fn (tree *fnp) return 0; } - if (walk_tree (&DECL_SAVED_TREE (fn), inline_forbidden_p, fn, NULL)) + if (walk_tree_without_duplicates (&DECL_SAVED_TREE (fn), + inline_forbidden_p, fn)) goto cannot_inline; return 0; |