summaryrefslogtreecommitdiff
path: root/gcc/diagnostic.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/diagnostic.c')
-rw-r--r--gcc/diagnostic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/diagnostic.c b/gcc/diagnostic.c
index 34e9679693f..a057f8d8f48 100644
--- a/gcc/diagnostic.c
+++ b/gcc/diagnostic.c
@@ -107,8 +107,8 @@ diagnostic_initialize (diagnostic_context *context, int n_opts)
context->permissive = false;
context->opt_permissive = 0;
context->fatal_errors = false;
- context->inhibit_warnings = false;
- context->warn_system_headers = false;
+ context->dc_inhibit_warnings = false;
+ context->dc_warn_system_headers = false;
context->internal_error = NULL;
diagnostic_starter (context) = default_diagnostic_starter;
diagnostic_finalizer (context) = default_diagnostic_finalizer;