This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug pch/53880] [4.8 Regression] compile time regression when generating precompiled headers for boost


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]