diff options
Diffstat (limited to 'gcc/c/c-objc-common.c')
-rw-r--r-- | gcc/c/c-objc-common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/c/c-objc-common.c b/gcc/c/c-objc-common.c index 344d4e2..2730565 100644 --- a/gcc/c/c-objc-common.c +++ b/gcc/c/c-objc-common.c @@ -108,8 +108,8 @@ c_tree_printer (pretty_printer *pp, text_info *text, const char *spec, if (*spec != 'v') { t = va_arg (*text->args_ptr, tree); - if (set_locus && text->locus) - *text->locus = DECL_SOURCE_LOCATION (t); + if (set_locus) + text->set_location (0, DECL_SOURCE_LOCATION (t)); } switch (*spec) |