Commit 59a7f9bf by Daniel Jacobowitz Committed by Daniel Jacobowitz

Fix PR target/9797 and PR c/9853.

	* stmt.c (expand_decl_init): Call push_temp_slots () and
	pop_temp_slots ().

From-SVN: r64250
parent cd22e4af
2003-02-24 Daniel Jacobowitz <drow@mvista.com>
Fix PR target/9797 and PR c/9853.
* stmt.c (expand_decl_init): Call push_temp_slots () and
pop_temp_slots ().
Wed Mar 12 16:30:25 2003 J"orn Rennecke <joern.rennecke@superh.com>
* sh.c: Include basic-block.h.
......
......@@ -4043,6 +4043,8 @@ expand_decl_init (decl)
/* Compute and store the initial value now. */
push_temp_slots ();
if (DECL_INITIAL (decl) == error_mark_node)
{
enum tree_code code = TREE_CODE (TREE_TYPE (decl));
......@@ -4066,6 +4068,7 @@ expand_decl_init (decl)
/* Free any temporaries we made while initializing the decl. */
preserve_temp_slots (NULL_RTX);
free_temp_slots ();
pop_temp_slots ();
}
/* CLEANUP is an expression to be executed at exit from this binding contour;
......
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