aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/module.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp/module.cc')
-rw-r--r--gcc/cp/module.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/module.cc b/gcc/cp/module.cc
index f72e015..9323023 100644
--- a/gcc/cp/module.cc
+++ b/gcc/cp/module.cc
@@ -4698,7 +4698,7 @@ noisy_p ()
if (quiet_flag)
return false;
- pp_needs_newline (global_dc->m_printer) = true;
+ pp_needs_newline (global_dc->get_reference_printer ()) = true;
diagnostic_set_last_function (global_dc, (diagnostic_info *) NULL);
return true;