summaryrefslogtreecommitdiffstats
path: root/gcc/integrate.c
diff options
context:
space:
mode:
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>2003-05-03 13:28:33 +0000
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>2003-05-03 13:28:33 +0000
commitbca5a169dbd7511850392fce078fac9a2ce8b785 (patch)
tree0d918b616faeef5dd3dd6d2c0124b405c528a109 /gcc/integrate.c
parent50a0654444825108f445422abbcd801610910db4 (diff)
downloadppe42-gcc-bca5a169dbd7511850392fce078fac9a2ce8b785.tar.gz
ppe42-gcc-bca5a169dbd7511850392fce078fac9a2ce8b785.zip
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66425 138bc75d-0d04-0410-961f-82ee72b054a4
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 3e7f94b4691..3c0b42ae01e 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
OpenPOWER on IntegriCloud