summaryrefslogtreecommitdiff
path: root/gcc/c-lang.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/c-lang.c')
-rw-r--r--gcc/c-lang.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-lang.c b/gcc/c-lang.c
index e2c906303f8..8942e859cdf 100644
--- a/gcc/c-lang.c
+++ b/gcc/c-lang.c
@@ -88,7 +88,7 @@ c_init ()
mark_lang_status = &mark_c_function_context;
lang_expand_expr = &c_expand_expr;
lang_safe_from_p = &c_safe_from_p;
- lang_printer = &c_tree_printer;
+ diagnostic_format_decoder (global_dc) = &c_tree_printer;
lang_expand_decl_stmt = &c_expand_decl_stmt;
lang_missing_noreturn_ok_p = &c_missing_noreturn_ok_p;