summaryrefslogtreecommitdiff
path: root/gcc/diagnostic.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/diagnostic.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/diagnostic.c')
-rw-r--r--gcc/diagnostic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/diagnostic.c b/gcc/diagnostic.c
index 953733995b2..c29867a60b3 100644
--- a/gcc/diagnostic.c
+++ b/gcc/diagnostic.c
@@ -139,7 +139,7 @@ text_specifies_location (text_info *text, location_t *locus)
else if (p[0] == '%' && p[1] == 'J')
{
tree t = va_arg (*text->args_ptr, tree);
- *locus = TREE_LOCUS (t);
+ *locus = DECL_SOURCE_LOCATION (t);
text->format_spec = p + 2;
return true;
}