On 3/9/20 2:55 AM, Nicholas Guriev wrote: > gcc/c-family/ChangeLog: > > PR pch/86674 > * c-pch.c (c_common_valid_pch): Use cpp_warning with CPP_W_INVALID_PCH > reason to fix -Werror=invalid-pch and -Wno-error=invalid-pch switches. > --- > gcc/c-family/ChangeLog | 6 ++++++ > gcc/c-family/c-pch.c | 40 +++++++++++++++------------------------- > libcpp/files.c | 2 +- > 3 files changed, 22 insertions(+), 26 deletions(-) > > diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog > index 2e11b0000..1c83eeb0f 100644 > --- a/gcc/c-family/ChangeLog > +++ b/gcc/c-family/ChangeLog > @@ -1,3 +1,9 @@ > +2020-03-09 Nicholas Guriev <guriev...@ya.ru> > + > + PR pch/86674 > + * c-pch.c (c_common_valid_pch): Use cpp_warning with CPP_W_INVALID_PCH > + reason to fix -Werror=invalid-pch and -Wno-error=invalid-pch switches.
THanks. I've added a ChangeLog entry for the libcpp/files.c change, re-tested and pushed this to the trunk. Jeff