This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi, The problem here is that we warn about small files that happen to be in the .gch directory even though the rest of the cases where we would have an invalid PCH file we have it conditional on -Winvalid-PCH. This patch changes the warning so it is conditional on -Winvalid-PCH. OK? Bootstrapped and tested on i386-apple-darwin with no regressions. Thanks, Andrew Pinski ChangeLog: * c-pch.c (c_common_valid_pch): Make the "too short to be a PCH file" warning condtional on -Winvalid-PCH.
Attachment:
pch.diff.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |