]> git.ipfire.org Git - thirdparty/gcc.git/commit - libcpp/files.c
cppfiles.c (pch_open_file): New parameter 'invalid_pch', set it.
authorGeoffrey Keating <geoffk@apple.com>
Sat, 8 Nov 2003 02:17:51 +0000 (02:17 +0000)
committerGeoffrey Keating <geoffk@gcc.gnu.org>
Sat, 8 Nov 2003 02:17:51 +0000 (02:17 +0000)
commit3d67ba1e3b11f434e159e45682579cef695466eb
tree98d74566858a9a43943bb8d246dfb37ca335e164
parent30321c396e258cd2ed96e93b28a2ccd5b294b56f
cppfiles.c (pch_open_file): New parameter 'invalid_pch', set it.

2003-11-07  Geoffrey Keating  <geoffk@apple.com>

* cppfiles.c (pch_open_file): New parameter 'invalid_pch', set it.
(find_file_in_dir): Likewise.
(_cpp_find_file): Print message if no header file is found
but an invalid PCH file was.

2003-11-07  Geoffrey Keating  <geoffk@apple.com>

* gcc.dg/pch/warn-1.c: Allow for more helpful error message.

From-SVN: r73353
gcc/ChangeLog
gcc/cppfiles.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pch/warn-1.c