[Bug c++/18418] [3.4 only] GCC 3.4.3 builds worse code than GCC 3.3.4 using template expressions

giovannibajo at libero dot it gcc-bugzilla@gcc.gnu.org
Wed Nov 10 18:52:00 GMT 2004


------- Additional Comments From giovannibajo at libero dot it  2004-11-10 18:52 -------
Notice that I would prefer to see a runtime benchmark before confirming this 
bug. A 20% increase in code size could probably be caused by better inlining -- 
it does not automatically means that the code is slower unless you prove 
otherwise.

If you compile with -O2, you should test run-time speed with a run-time 
benchmark: try doing some calculations and time them with different compilers. 
If you care about code size, try with -Os.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18418



More information about the Gcc-bugs mailing list