https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86674
--- Comment #1 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jeff Law <l...@gcc.gnu.org>: https://gcc.gnu.org/g:cb808c583de59ea568fd240144cd9db07272f45e commit r11-4944-gcb808c583de59ea568fd240144cd9db07272f45e Author: Nicholas Guriev <guriev...@ya.ru> Date: Thu Nov 12 08:59:35 2020 -0500 Specify reason of -Winvalid-pch warning gcc/c-family 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. libcpp PR pch/86674 * files.c (_cpp_find_file): Use CPP_DL_NOTE not CPP_DL_ERROR in call to cpp_error.