* semantics.c (expand_or_defer_fn): Inc/dec function_depth.
From-SVN: r71473
This commit is contained in:
parent
3b2d7c47c4
commit
99edd65d5e
@ -1,3 +1,7 @@
|
||||
2003-09-17 Richard Henderson <rth@redhat.com>
|
||||
|
||||
* semantics.c (expand_or_defer_fn): Inc/dec function_depth.
|
||||
|
||||
2003-09-16 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
|
||||
|
||||
PR c++/7939
|
||||
|
@ -2939,8 +2939,12 @@ expand_or_defer_fn (tree fn)
|
||||
if (DECL_DECLARED_INLINE_P (fn))
|
||||
import_export_decl (fn);
|
||||
|
||||
function_depth++;
|
||||
|
||||
/* Expand or defer, at the whim of the compilation unit manager. */
|
||||
cgraph_finalize_function (fn, function_depth > 1);
|
||||
|
||||
function_depth--;
|
||||
}
|
||||
|
||||
/* Helper function for walk_tree, used by finish_function to override all
|
||||
|
Loading…
Reference in New Issue
Block a user