summaryrefslogtreecommitdiff
path: root/gcc/tree-optimize.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/tree-optimize.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/tree-optimize.c')
-rw-r--r--gcc/tree-optimize.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-optimize.c b/gcc/tree-optimize.c
index ab11f4d2ad3..e6049cb2b29 100644
--- a/gcc/tree-optimize.c
+++ b/gcc/tree-optimize.c
@@ -105,7 +105,7 @@ tree_rest_of_compilation (tree fndecl, bool nested_p)
/* Initialize the RTL code for the function. */
current_function_decl = fndecl;
saved_loc = input_location;
- input_location = TREE_LOCUS (fndecl);
+ input_location = DECL_SOURCE_LOCATION (fndecl);
init_function_start (fndecl);
/* This function is being processed in whole-function mode. */