Commit d430cbe7 by Eric Botcazou Committed by Eric Botcazou

tree-nested.c (get_frame_type): Mark the "non-local frame structure" as addressable.

	* tree-nested.c (get_frame_type): Mark the "non-local frame structure"
	as addressable.

From-SVN: r104300
parent fca59ed2
2005-09-15 Eric Botcazou <ebotcazou@adacore.com>
* tree-nested.c (get_frame_type): Mark the "non-local frame structure"
as addressable.
2005-09-15 Michael Matz <matz@suse.de>
* tree-vrp.c (vrp_int_const_binop <MINUS_EXPR>): Handle 0 - -INF.
......
......@@ -220,6 +220,14 @@ get_frame_type (struct nesting_info *info)
info->frame_type = type;
info->frame_decl = create_tmp_var_for (info, type, "FRAME");
/* ??? Always make it addressable for now, since it is meant to
be pointed to by the static chain pointer. This pessimizes
when it turns out that no static chains are needed because
the nested functions referencing non-local variables are not
reachable, but the true pessimization is to create the non-
local frame structure in the first place. */
TREE_ADDRESSABLE (info->frame_decl) = 1;
}
return type;
}
......
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