Commit fa3ee801 by Daniel Jacobowitz Committed by Daniel Jacobowitz

* semantics.c (expand_body): Assert that we are not nested.

From-SVN: r87126
parent d3a583b1
2004-09-06 Daniel Jacobowitz <dan@debian.org>
* semantics.c (expand_body): Assert that we are not nested.
2004-09-06 Zack Weinberg <zack@codesourcery.com>
* decl.c (build_enumerator): Use add_double and int_fits_type_p
......
......@@ -2881,7 +2881,12 @@ expand_body (tree fn)
/* Emit any thunks that should be emitted at the same time as FN. */
emit_associated_thunks (fn);
tree_rest_of_compilation (fn, function_depth > 1);
/* This function is only called from cgraph, or recursively from
emit_associated_thunks. In neither case should we be currently
generating trees for a function. */
gcc_assert (function_depth == 0);
tree_rest_of_compilation (fn, 0);
current_function_decl = saved_function;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment