cppfiles.c (pch_open_file): Minor tweak to work-around native HPPA compiler bug.
authorRoger Sayle <sayle@gcc.gnu.org>
Wed, 31 Dec 2003 05:11:44 +0000 (05:11 +0000)
committerRoger Sayle <sayle@gcc.gnu.org>
Wed, 31 Dec 2003 05:11:44 +0000 (05:11 +0000)
* cppfiles.c (pch_open_file): Minor tweak to work-around native
HPPA compiler bug.

From-SVN: r75256

gcc/ChangeLog
gcc/cppfiles.c

index bdfef52bd01ede506ee41ebd07857189f81c64be..79c0f8abe37be86b27af5421d90fa743a94b184b 100644 (file)
@@ -1,3 +1,8 @@
+2003-12-30  Roger Sayle  <roger@eyesopen.com>
+
+       * cppfiles.c (pch_open_file): Minor tweak to work-around native
+       HPPA compiler bug.
+
 2003-12-30  Kazu Hirata  <kazu@cs.umass.edu>
 
        * config/rs6000/aix.h: Fix comment formatting.
@@ -47,7 +52,7 @@
 
 2003-12-30  Jan Hubicka  <jh@suse.cz>
 
-       PR ice/11936
+       PR target/11936
        * i386.h (CLASS_LIKELY_SPILLED_P): Return true for
        FP_TOP_REG/FP_SECOND_REG.
 
index b5b5461b9eed70895f5ea2ed3b98b318ff43bd2b..d844947218da5ec8d1f7e707545c690dccac54f3 100644 (file)
@@ -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)