diff options
Diffstat (limited to 'gcc/fortran/cpp.cc')
-rw-r--r-- | gcc/fortran/cpp.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/fortran/cpp.cc b/gcc/fortran/cpp.cc index 67e4d4e..02c28a7 100644 --- a/gcc/fortran/cpp.cc +++ b/gcc/fortran/cpp.cc @@ -1084,13 +1084,13 @@ cb_cpp_diagnostic (cpp_reader *pfile ATTRIBUTE_UNUSED, { diagnostic_info diagnostic; diagnostic_t dlevel; - bool save_warn_system_headers = global_dc->dc_warn_system_headers; + bool save_warn_system_headers = global_dc->m_warn_system_headers; bool ret; switch (level) { case CPP_DL_WARNING_SYSHDR: - global_dc->dc_warn_system_headers = 1; + global_dc->m_warn_system_headers = 1; /* Fall through. */ case CPP_DL_WARNING: dlevel = DK_WARNING; @@ -1119,7 +1119,7 @@ cb_cpp_diagnostic (cpp_reader *pfile ATTRIBUTE_UNUSED, cb_cpp_diagnostic_cpp_option (reason)); ret = diagnostic_report_diagnostic (global_dc, &diagnostic); if (level == CPP_DL_WARNING_SYSHDR) - global_dc->dc_warn_system_headers = save_warn_system_headers; + global_dc->m_warn_system_headers = save_warn_system_headers; return ret; } |