[Bug c++/60976] Compilation with G++ 4.9.0 is 2-3 times slower than with 4.8.2
trippels at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Apr 8 08:42:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60976
Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |trippels at gcc dot gnu.org
--- Comment #12 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
As Jonathan wrote, the standard library must conform to the C++ standard.
You simply cannot expect fast compile times out of the box when you make heavy
use of stl/boost.
(Although careful analysis might bring it down considerably. (e.g., bundling
most template instantiations into a single compilation unit))
For the attached testcase clang's libc++ is even 30% slower than gcc-4.9
libstdc++.
More information about the Gcc-bugs
mailing list