]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libcpp/ChangeLog
re PR pch/13675 (#including a precompiled header more than once in the same unit...
[thirdparty/gcc.git] / libcpp / ChangeLog
index 0b3ce8b3a0c0a09f5480e009835764f583f61b50..e8719d931e1b8255ff2cac3963d1504b64628f94 100644 (file)
@@ -1,3 +1,13 @@
+2008-04-01  Jakub Jelinek  <jakub@redhat.com>
+
+       PR pch/13675
+       * files.c (struct _cpp_file): Remove pch field.
+       (pch_open_file): Don't set file->pch, just file->pchname.
+       (should_stack_file): After pfile->cb.read_pch call
+       free pchname and clear pchname, don't close file->fd.
+       Test file->pchname instead of file->pch.  Don't close fd after cb.
+       (_cpp_stack_include): Test file->pchname instead of file->pch.
+
 2008-03-28  Tom Tromey  <tromey@redhat.com>
 
        * Makefile.in (POSTCOMPILE): New variable.