function.c (allocate_struct_function): Do not initialize expr, emit and varasm.

* function.c (allocate_struct_function): Do not initialize expr, emit
	and varasm.
	(prepare_function_start): Do it here.
	* c-parse.in (maybe_type_qual): Do not produce line number notes.

From-SVN: r76345
This commit is contained in:
Jan Hubicka 2004-01-22 11:52:20 +01:00 committed by Jan Hubicka
parent ca3bb0c283
commit 0de456a50f
3 changed files with 12 additions and 6 deletions

View File

@ -1,3 +1,10 @@
2004-01-22 Jan Hubicka <jh@suse.cz>
* function.c (allocate_struct_function): Do not initialize expr, emit
and varasm.
(prepare_function_start): Do it here.
* c-parse.in (maybe_type_qual): Do not produce line number notes.
2004-01-22 Eric Botcazou <ebotcazou@libertysurf.fr>
PR target/13559

View File

@ -2504,10 +2504,9 @@ label: CASE expr_no_commas ':'
maybe_type_qual:
/* empty */
{ emit_line_note (input_location);
$$ = NULL_TREE; }
{ $$ = NULL_TREE; }
| TYPE_QUAL
{ emit_line_note (input_location); }
{ }
;
xexpr:

View File

@ -6394,9 +6394,6 @@ allocate_struct_function (tree fndecl)
init_stmt_for_function ();
init_eh_for_function ();
init_emit ();
init_expr ();
init_varasm_status (cfun);
(*lang_hooks.function.init) (cfun);
if (init_machine_status)
@ -6434,6 +6431,9 @@ prepare_function_start (tree fndecl)
cfun = DECL_SAVED_INSNS (fndecl);
else
allocate_struct_function (fndecl);
init_emit ();
init_varasm_status (cfun);
init_expr ();
cse_not_expected = ! optimize;