+2003-09-17 Richard Henderson <rth@redhat.com>
+
+ * tree-optimize.c (tree_rest_of_compilation): Save and restore
+ input_location.
+
2003-09-17 Daniel Jacobowitz <drow@mvista.com>
* config/rs6000/sysv4.h (LIB_LINUX_SPEC): Give -lpthread before -lc.
+2003-09-17 Richard Henderson <rth@redhat.com>
+
+ * semantics.c (expand_body): Don't save/restore input_location.
+
2003-09-17 Mark Mitchell <mark@codesourcery.com>
PR c++/12266
void
expand_body (tree fn)
{
- location_t saved_loc;
tree saved_function;
/* Compute the appropriate object-file linkage for inline
return;
/* ??? When is this needed? */
- saved_loc = input_location;
saved_function = current_function_decl;
timevar_push (TV_INTEGRATION);
tree_rest_of_compilation (fn, function_depth > 1);
current_function_decl = saved_function;
- input_location = saved_loc;
extract_interface_info ();
void
tree_rest_of_compilation (tree fndecl, bool nested_p)
{
+ location_t saved_loc;
+
timevar_push (TV_EXPAND);
if (flag_unit_at_a_time && !cgraph_global_info_ready)
/* Initialize the RTL code for the function. */
current_function_decl = fndecl;
+ saved_loc = input_location;
input_location = DECL_SOURCE_LOCATION (fndecl);
init_function_start (fndecl);
DECL_ARGUMENTS (fndecl) = 0;
}
+ input_location = saved_loc;
+
timevar_pop (TV_EXPAND);
}