This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/18418] [3.4 only] GCC 3.4.3 builds worse code than GCC 3.3.4 using template expressions
- From: "giovannibajo at libero dot it" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Nov 2004 18:52:09 -0000
- Subject: [Bug c++/18418] [3.4 only] GCC 3.4.3 builds worse code than GCC 3.3.4 using template expressions
- References: <20041110135203.18418.ayqazi@yahoo.co.uk>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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