From f31686a322301454c5ea5b997997aa7c84c57781 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Sun, 21 Sep 2003 22:09:32 -0700 Subject: Revert DECL_SOURCE_LOCATION -> TREE_LOCUS change. From-SVN: r71641 --- gcc/diagnostic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/diagnostic.c') diff --git a/gcc/diagnostic.c b/gcc/diagnostic.c index 9537339..c29867a 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; } -- cgit v1.1