summaryrefslogtreecommitdiff
path: root/gcc/stmt.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/stmt.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/stmt.c')
-rw-r--r--gcc/stmt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/stmt.c b/gcc/stmt.c
index 40ad357a334..9d5553f2517 100644
--- a/gcc/stmt.c
+++ b/gcc/stmt.c
@@ -3981,7 +3981,7 @@ expand_decl_init (tree decl)
}
else if (DECL_INITIAL (decl) && TREE_CODE (DECL_INITIAL (decl)) != TREE_LIST)
{
- emit_line_note (TREE_LOCUS (decl));
+ emit_line_note (DECL_SOURCE_LOCATION (decl));
expand_assignment (decl, DECL_INITIAL (decl), 0);
emit_queue ();
}