diff options
author | Richard Henderson <rth@redhat.com> | 2003-09-21 22:09:32 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2003-09-21 22:09:32 -0700 |
commit | f31686a322301454c5ea5b997997aa7c84c57781 (patch) | |
tree | d942bc168b4a8f91e17acf863e1d2091ff773b6c /gcc/integrate.c | |
parent | 0f7fcd6a40a237b634e0f93f1206724add7354d3 (diff) | |
download | gcc-f31686a322301454c5ea5b997997aa7c84c57781.zip gcc-f31686a322301454c5ea5b997997aa7c84c57781.tar.gz gcc-f31686a322301454c5ea5b997997aa7c84c57781.tar.bz2 |
Revert DECL_SOURCE_LOCATION -> TREE_LOCUS change.
From-SVN: r71641
Diffstat (limited to 'gcc/integrate.c')
-rw-r--r-- | gcc/integrate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/integrate.c b/gcc/integrate.c index 2c6ff17..21a738e 100644 --- a/gcc/integrate.c +++ b/gcc/integrate.c @@ -987,7 +987,7 @@ expand_inline_function (tree fndecl, tree parms, rtx target, int ignore, && ! (GET_CODE (XEXP (loc, 0)) == REG && REGNO (XEXP (loc, 0)) > LAST_VIRTUAL_REGISTER)) { - rtx note = emit_line_note (TREE_LOCUS (formal)); + rtx note = emit_line_note (DECL_SOURCE_LOCATION (formal)); if (note) RTX_INTEGRATED_P (note) = 1; @@ -2985,7 +2985,7 @@ output_inline_function (tree fndecl) /* Make sure warnings emitted by the optimizers (e.g. control reaches end of non-void function) is not wildly incorrect. */ - input_location = TREE_LOCUS (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 |