diff options
Diffstat (limited to 'gcc/c-errors.c')
-rw-r--r-- | gcc/c-errors.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-errors.c b/gcc/c-errors.c index de24a04..2a2fdc0 100644 --- a/gcc/c-errors.c +++ b/gcc/c-errors.c @@ -38,7 +38,7 @@ pedwarn_c99 (const char *msgid, ...) va_list ap; va_start (ap, msgid); - diagnostic_set_info (&diagnostic, msgid, &ap, input_filename, input_line, + diagnostic_set_info (&diagnostic, msgid, &ap, input_location, flag_isoc99 ? pedantic_error_kind () : DK_WARNING); report_diagnostic (&diagnostic); va_end (ap); |