diff options
Diffstat (limited to 'gcc/substring-locations.c')
-rw-r--r-- | gcc/substring-locations.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/substring-locations.c b/gcc/substring-locations.c index e2d8dd7..433023d 100644 --- a/gcc/substring-locations.c +++ b/gcc/substring-locations.c @@ -150,7 +150,7 @@ format_warning_va (const substring_loc &fmt_loc, diagnostic_info diagnostic; diagnostic_set_info (&diagnostic, gmsgid, ap, &richloc, DK_WARNING); diagnostic.option_index = opt; - bool warned = report_diagnostic (&diagnostic); + bool warned = diagnostic_report_diagnostic (global_dc, &diagnostic); if (!err && fmt_substring_loc && !substring_within_range) /* Case 2. */ |