diff options
Diffstat (limited to 'gcc/tree-inline.c')
-rw-r--r-- | gcc/tree-inline.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/gcc/tree-inline.c b/gcc/tree-inline.c index cb6b0c49b8e..d2cf66a364c 100644 --- a/gcc/tree-inline.c +++ b/gcc/tree-inline.c @@ -900,11 +900,9 @@ static tree find_alloca_call (exp) tree exp; { - int line = input_line; - const char *file = input_filename; + location_t saved_loc = input_location; tree ret = walk_tree (&exp, find_alloca_call_1, NULL, NULL); - input_line = line; - input_filename = file; + input_location = saved_loc; return ret; } @@ -931,11 +929,9 @@ static tree find_builtin_longjmp_call (exp) tree exp; { - int line = input_line; - const char *file = input_filename; + location_t saved_loc = input_location; tree ret = walk_tree (&exp, find_builtin_longjmp_call_1, NULL, NULL); - input_line = line; - input_filename = file; + input_location = saved_loc; return ret; } |