http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54050
Bug #: 54050 Summary: chaining Classification: Unclassified Product: gcc Version: 4.7.1 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: pch AssignedTo: unassig...@gcc.gnu.org ReportedBy: wbr...@gmail.com GCC could support chaining of pch, which is supported by clang: http://clang.llvm.org/docs/PCHInternals.html Precompiled headers can be chained. When you create a PCH while including an existing PCH, Clang can create the new PCH by referencing the original file and only writing the new data to the new file. For example, you could create a PCH out of all the headers that are very commonly used throughout your project, and then create a PCH for every single source file in the project that includes the code that is specific to that file, so that recompiling the file itself is very fast, without duplicating the data from the common headers for every file.