This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug pch/53880] [4.8 Regression] compile time regression when generating precompiled headers for boost
- From: "steven at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 24 Jul 2012 09:20:14 +0000
- Subject: [Bug pch/53880] [4.8 Regression] compile time regression when generating precompiled headers for boost
- Auto-submitted: auto-generated
- References: <bug-53880-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53880
--- Comment #9 from Steven Bosscher <steven at gcc dot gnu.org> 2012-07-24 09:20:14 UTC ---
(In reply to comment #1)
> Boost version is 1.49.
> (When I use --save-temps and use the resulting .ii file instead, the regression
> is no longer reproducible)
That's of course because all preprocessor macros are already expanded and
written out to the .ii file :-)
I've posted this patch for -O0 builds:
http://gcc.gnu.org/ml/gcc-patches/2012-07/msg01174.html
I have no idea if it helps for "normal" optimized builds also. Perhaps you can
give it a try.