diff options
Diffstat (limited to 'gcc/cp/error.cc')
-rw-r--r-- | gcc/cp/error.cc | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/gcc/cp/error.cc b/gcc/cp/error.cc index 8a5219a..767478cf 100644 --- a/gcc/cp/error.cc +++ b/gcc/cp/error.cc @@ -3774,6 +3774,8 @@ print_instantiation_partial_context_line (diagnostic_context *context, ? _("recursively required from here\n") : _("required from here\n")); } + gcc_rich_location rich_loc (loc); + diagnostic_show_locus (context, &rich_loc, DK_NOTE); } /* Same as print_instantiation_full_context but less verbose. */ @@ -4454,10 +4456,10 @@ cp_printer (pretty_printer *pp, text_info *text, const char *spec, const char *result; tree t = NULL; -#define next_tree (t = va_arg (*text->args_ptr, tree)) -#define next_tcode ((enum tree_code) va_arg (*text->args_ptr, int)) -#define next_lang ((enum languages) va_arg (*text->args_ptr, int)) -#define next_int va_arg (*text->args_ptr, int) +#define next_tree (t = va_arg (*text->m_args_ptr, tree)) +#define next_tcode ((enum tree_code) va_arg (*text->m_args_ptr, int)) +#define next_lang ((enum languages) va_arg (*text->m_args_ptr, int)) +#define next_int va_arg (*text->m_args_ptr, int) if (precision != 0 || wide) return false; |