public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug pch/54050] New: chaining
@ 2012-07-20 14:09 wbrana at gmail dot com
2012-07-20 15:34 ` [Bug pch/54050] chaining pinskia at gcc dot gnu.org
2012-07-20 18:02 ` steven at gcc dot gnu.org
0 siblings, 2 replies; 3+ messages in thread
From: wbrana at gmail dot com @ 2012-07-20 14:09 UTC (permalink / raw)
To: gcc-bugs
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: unassigned@gcc.gnu.org
ReportedBy: wbrana@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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug pch/54050] chaining
2012-07-20 14:09 [Bug pch/54050] New: chaining wbrana at gmail dot com
@ 2012-07-20 15:34 ` pinskia at gcc dot gnu.org
2012-07-20 18:02 ` steven at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-07-20 15:34 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54050
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-07-20 15:33:47 UTC ---
I don't think PCH will ever support this because nobody is working on PCH but
PPH might handle this (and might already does).
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug pch/54050] chaining
2012-07-20 14:09 [Bug pch/54050] New: chaining wbrana at gmail dot com
2012-07-20 15:34 ` [Bug pch/54050] chaining pinskia at gcc dot gnu.org
@ 2012-07-20 18:02 ` steven at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: steven at gcc dot gnu.org @ 2012-07-20 18:02 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54050
Steven Bosscher <steven at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2012-07-20
CC| |steven at gcc dot gnu.org
Ever Confirmed|0 |1
--- Comment #2 from Steven Bosscher <steven at gcc dot gnu.org> 2012-07-20 18:02:42 UTC ---
I like the idea, though.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-07-20 18:02 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-20 14:09 [Bug pch/54050] New: chaining wbrana at gmail dot com
2012-07-20 15:34 ` [Bug pch/54050] chaining pinskia at gcc dot gnu.org
2012-07-20 18:02 ` steven at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).