Commit 5852680b by Josef Zlomek Committed by Josef Zlomek

* tree-inline.c (copy_body_r): Do not replace ret_label.

From-SVN: r77820
parent 2cf20d32
2004-02-14 Josef Zlomek <zlomekj@suse.cz>
* tree-inline.c (copy_body_r): Do not replace ret_label.
2004-02-14 Jan Hubicka <jh@suse.cz>
* i386.c (x86_four_jump_limit): New variable.
......
......@@ -572,8 +572,11 @@ copy_body_r (tree *tp, int *walk_subtrees, void *data)
/* Local variables and labels need to be replaced by equivalent
variables. We don't want to copy static variables; there's only
one of those, no matter how many times we inline the containing
function. */
else if ((*lang_hooks.tree_inlining.auto_var_in_fn_p) (*tp, fn))
function.
We do not also want to copy the label which we put into
GOTO_STMT which replaced RETURN_STMT. */
else if (*tp != id->ret_label
&& (*lang_hooks.tree_inlining.auto_var_in_fn_p) (*tp, fn))
{
tree new_decl;
......
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