diff options
author | sayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-12-31 05:11:44 +0000 |
---|---|---|
committer | sayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-12-31 05:11:44 +0000 |
commit | c24dc1642bcb5ef54c469d8a14d1962b788018f6 (patch) | |
tree | f03c693515798d4b398b1ba0e3802e0bb0fbced7 /gcc/cppfiles.c | |
parent | 1a4e6801e1ae290fe26d7e8e3b1fdab0c4b39412 (diff) | |
download | ppe42-gcc-c24dc1642bcb5ef54c469d8a14d1962b788018f6.tar.gz ppe42-gcc-c24dc1642bcb5ef54c469d8a14d1962b788018f6.zip |
* cppfiles.c (pch_open_file): Minor tweak to work-around native
HPPA compiler bug.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75256 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cppfiles.c')
-rw-r--r-- | gcc/cppfiles.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/cppfiles.c b/gcc/cppfiles.c index b5b5461b9ee..d844947218d 100644 --- a/gcc/cppfiles.c +++ b/gcc/cppfiles.c @@ -291,8 +291,10 @@ pch_open_file (cpp_reader *pfile, _cpp_file *file, bool *invalid_pch) } closedir (pchdir); } - file->pch |= valid; - *invalid_pch |= ! valid; + if (valid) + file->pch = true; + else + *invalid_pch = true; } if (valid) |