aboutsummaryrefslogtreecommitdiff
path: root/gcc/integrate.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/integrate.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/integrate.c')
-rw-r--r--gcc/integrate.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/integrate.c b/gcc/integrate.c
index 3e7f94b..3c0b42a 100644
--- a/gcc/integrate.c
+++ b/gcc/integrate.c
@@ -3040,8 +3040,7 @@ output_inline_function (fndecl)
/* Make sure warnings emitted by the optimizers (e.g. control reaches
end of non-void function) is not wildly incorrect. */
- input_filename = DECL_SOURCE_FILE (fndecl);
- input_line = DECL_SOURCE_LINE (fndecl);
+ input_location = DECL_SOURCE_LOCATION (fndecl);
/* Compile this function all the way down to assembly code. As a
side effect this destroys the saved RTL representation, but