Fix for i960 build failure reported by Andreas Jaeger.

* toplev.c (lang_dependent_init): Create function context for
	init_expr_once.

From-SVN: r55508
This commit is contained in:
Jim Wilson 2002-07-17 03:03:40 +00:00 committed by Jim Wilson
parent 349ccf2eeb
commit 7ab0121e27
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2002-07-16 Jim Wilson <wilson@redhat.com>
* toplev.c (lang_dependent_init): Create function context for
init_expr_once.
2002-07-16 Hans-Peter Nilsson <hp@axis.com>
* config/cris/linux.h (CRIS_LINK_SUBTARGET_SPEC): Don't

View File

@ -5141,7 +5141,12 @@ lang_dependent_init (name)
front end is initialized. */
init_eh ();
init_optabs ();
/* The following initialization functions need to generate rtl, so
provide a dummy function context for them. */
init_dummy_function_start ();
init_expr_once ();
expand_dummy_function_end ();
/* Put an entry on the input file stack for the main input file. */
push_srcloc (input_filename, 0);