diff options
Diffstat (limited to 'gcc/c-pch.c')
-rw-r--r-- | gcc/c-pch.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/c-pch.c b/gcc/c-pch.c index 520b866..b4f7050 100644 --- a/gcc/c-pch.c +++ b/gcc/c-pch.c @@ -463,7 +463,7 @@ c_common_pch_pragma (cpp_reader *pfile, const char *name) if (!cpp_get_options (pfile)->preprocessed) { error ("pch_preprocess pragma should only be used with -fpreprocessed"); - inform ("use #include instead"); + inform (input_location, "use #include instead"); return; } @@ -474,7 +474,7 @@ c_common_pch_pragma (cpp_reader *pfile, const char *name) if (c_common_valid_pch (pfile, name, fd) != 1) { if (!cpp_get_options (pfile)->warn_invalid_pch) - inform ("use -Winvalid-pch for more information"); + inform (input_location, "use -Winvalid-pch for more information"); fatal_error ("%s: PCH file was invalid", name); } |