[Bug c++/54710] moderately large tuple, with many gets, ballons compile time
cppljevans at suddenlink dot net
gcc-bugzilla@gcc.gnu.org
Thu Sep 27 14:12:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54710
--- Comment #9 from Larry Evans <cppljevans at suddenlink dot net> 2012-09-27 14:12:24 UTC ---
(In reply to comment #7)
> Can you provide absolute compile-times
The .out files show output of unix time command.
Is that not what you mean by "absolute compile-times"?
If not, could you explain how I get "absolute compile-times"?
> alongside source complexity
> (like the number of required template instantiations?).
How would you recommend I get this information?
>
> Also you are using the compiler default optimization settings which for
> CLANG is (IIRC) to do optimization and for GCC is to not do. You might
> want to try -O1 for both and/or explicit -O0 for both.
I've just attached another .zip file where -O1 was used.
OTOH, looking at the clang compiler command path, I see
it includes:
/Debug+Asserts/bin/clang
which suggests it was created with some sort of runtime checks
which maybe slows it down, like the:
--enable-checking=assert,misc,tree,gc,rtl,runtime
does for clang. Will investigate.
HTH.
-regards,
Larry
More information about the Gcc-bugs
mailing list