Commit 2848ad0f by Mark Mitchell Committed by Mark Mitchell

decl.c (compute_array_index_type): New function, split out from grokdeclarator.

	* decl.c (compute_array_index_type): New function, split out from
	grokdeclarator.
	(create_array_type_for_decl): Likewise.
	(grokdeclarator): Use them.

	* semantics.c (expand_stmt): Don't suspend_momentary or
	resume_momentary.

From-SVN: r30504
parent d26f8097
1999-11-12 Mark Mitchell <mark@codesourcery.com>
* decl.c (compute_array_index_type): New function, split out from
grokdeclarator.
(create_array_type_for_decl): Likewise.
(grokdeclarator): Use them.
* semantics.c (expand_stmt): Don't suspend_momentary or
resume_momentary.
Thu Nov 11 12:42:11 MST 1999 Diego Novillo <dnovillo@cygnus.com>
* init.c (init_init_processing): Header information for
......
......@@ -2267,7 +2267,6 @@ expand_stmt (t)
case DECL_STMT:
{
tree decl;
int i = suspend_momentary ();
emit_line_note (input_filename, lineno);
decl = DECL_STMT_DECL (t);
......@@ -2290,8 +2289,6 @@ expand_stmt (t)
}
else if (TREE_CODE (decl) == VAR_DECL && TREE_STATIC (decl))
make_rtl_for_local_static (decl);
resume_momentary (i);
}
break;
......
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