summaryrefslogtreecommitdiff
path: root/gcc/cp/method.c
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2003-09-22 05:09:32 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2003-09-22 05:09:32 +0000
commit346064d966aacf0e32acbe60228695344d446f0f (patch)
treed942bc168b4a8f91e17acf863e1d2091ff773b6c /gcc/cp/method.c
parent99b72d8df1d8826dba9eab345e6862f6582943de (diff)
downloadgcc-346064d966aacf0e32acbe60228695344d446f0f.tar.gz
Revert DECL_SOURCE_LOCATION -> TREE_LOCUS change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71641 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/method.c')
-rw-r--r--gcc/cp/method.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/method.c b/gcc/cp/method.c
index b5d5e327770..52770042bee 100644
--- a/gcc/cp/method.c
+++ b/gcc/cp/method.c
@@ -719,7 +719,7 @@ synthesize_method (tree fndecl)
where the attempt to generate the function occurs, giving the
user a hint as to why we are attempting to generate the
function. */
- set_tree_locus (fndecl, input_location);
+ DECL_SOURCE_LOCATION (fndecl) = input_location;
interface_unknown = 1;
start_function (NULL_TREE, fndecl, NULL_TREE, SF_DEFAULT | SF_PRE_PARSED);