aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-inline.c
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@codesourcery.com>2003-05-03 13:28:33 +0000
committerNathan Sidwell <nathan@gcc.gnu.org>2003-05-03 13:28:33 +0000
commit070588f06e3c7677a21d2e0bdce7253229daa83b (patch)
tree0d918b616faeef5dd3dd6d2c0124b405c528a109 /gcc/tree-inline.c
parent5dc5d13c708ac848d6e30e22546ca2062732bd57 (diff)
downloadgcc-070588f06e3c7677a21d2e0bdce7253229daa83b.zip
gcc-070588f06e3c7677a21d2e0bdce7253229daa83b.tar.gz
gcc-070588f06e3c7677a21d2e0bdce7253229daa83b.tar.bz2
c-decl.c (pending_invalid_xref_file): Remove.
* c-decl.c (pending_invalid_xref_file): Remove. (pending_invalid_xref_line): Remove. (pending_invalid_xref_location): New. (lookup_label): Use location_t and input_location directly. (lookup_tag): Likewise. (pending_xref_error): Likewise. (c_expand_body_1): Likewise. * c-common.c (x_expand_start_cond): Likewise. * c-semantics.c (genrtl_for_stmt): Likewise. (find_reachable_label): Likewise. * expr.c (expand_expr): Likewise. * integrate.c (output_inline_function): Likewise. * tree-inline.c (find_alloca_call): Likewise. (find_builtin_longjmp_call): Likewise. * gcc.c (input_filename): Make static. From-SVN: r66425
Diffstat (limited to 'gcc/tree-inline.c')
-rw-r--r--gcc/tree-inline.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/gcc/tree-inline.c b/gcc/tree-inline.c
index cb6b0c4..d2cf66a 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;
}