diff options
author | geoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-11-08 02:17:51 +0000 |
---|---|---|
committer | geoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-11-08 02:17:51 +0000 |
commit | efc0d52bc51b37704eb5a5ee837fad8e279a0eff (patch) | |
tree | 98d74566858a9a43943bb8d246dfb37ca335e164 /gcc/testsuite/gcc.dg/pch | |
parent | 804925cd6ac4db622b1bb157f6cebbf7b10583ed (diff) | |
download | ppe42-gcc-efc0d52bc51b37704eb5a5ee837fad8e279a0eff.tar.gz ppe42-gcc-efc0d52bc51b37704eb5a5ee837fad8e279a0eff.zip |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73353 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.dg/pch')
-rw-r--r-- | gcc/testsuite/gcc.dg/pch/warn-1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/pch/warn-1.c b/gcc/testsuite/gcc.dg/pch/warn-1.c index 779577dd8ae..6e895818c63 100644 --- a/gcc/testsuite/gcc.dg/pch/warn-1.c +++ b/gcc/testsuite/gcc.dg/pch/warn-1.c @@ -2,7 +2,7 @@ #define DEFINED_VALUE 3 -#include "warn-1.h"/* { dg-error "not used because `DEFINED_VALUE' is defined|No such file" } */ +#include "warn-1.h"/* { dg-error "not used because `DEFINED_VALUE' is defined|No such file|they were invalid" } */ int main(void) { |