From bcad4ca2475c02dca921378edd13a97bde36b70e Mon Sep 17 00:00:00 2001 From: Roger Sayle Date: Wed, 31 Dec 2003 05:11:44 +0000 Subject: cppfiles.c (pch_open_file): Minor tweak to work-around native HPPA compiler bug. * cppfiles.c (pch_open_file): Minor tweak to work-around native HPPA compiler bug. From-SVN: r75256 --- gcc/ChangeLog | 7 ++++++- gcc/cppfiles.c | 6 ++++-- 2 files changed, 10 insertions(+), 3 deletions(-) (limited to 'gcc') diff --git a/gcc/ChangeLog b/gcc/ChangeLog index bdfef52..79c0f8a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2003-12-30 Roger Sayle + + * cppfiles.c (pch_open_file): Minor tweak to work-around native + HPPA compiler bug. + 2003-12-30 Kazu Hirata * config/rs6000/aix.h: Fix comment formatting. @@ -47,7 +52,7 @@ 2003-12-30 Jan Hubicka - PR ice/11936 + PR target/11936 * i386.h (CLASS_LIKELY_SPILLED_P): Return true for FP_TOP_REG/FP_SECOND_REG. diff --git a/gcc/cppfiles.c b/gcc/cppfiles.c index b5b5461..d844947 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) -- cgit v1.1