[Patch] C++ inlining heuristics changed (3.0.1)
Kurt Garloff
garloff@suse.de
Thu Aug 23 12:43:00 GMT 2001
On Thu, Aug 23, 2001 at 09:19:48PM +0200, Manfred Hollstein wrote:
> Same here; I just re-built gcc-3.0.1 with all languages enabled,
> and I'm amazed! Great work Kurt! The final RPM I built is not only
> smaller than the first one (saved ~3%),
:-)
> but, random tests using the
> new compiler showed improved performance of the generated code by
> up to ~30-40% (and this was plain C code)!
Now, I have to tell you my disbelief!
My 3.0.1 patch (as opposed to the one against 2.95.3) only changes the C++
tree inliner (gcc/cp/optimize.c), you either have some C++ code or you use
at least some C++ libraries ...
Or do I miss the fact that C code now also uses the C++ tree inliner?
> One suggestion though; your patch is changing gcc.info-4, which is
> a generated file. You should be re-generating your patch with changes
> to the original .texi* files instead.
Oops. That was not really clever.
Will submit a new patch with this fixed and some other modifications soon.
Regards,
--
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE7hVzhxmLh6hyYd04RAswKAJ9UX1vqls9TCM6pmKA3W3MdY/nHAACfT1JH
E7aGdTdHyVrihjJrwcx0gFU=
=3dUc
-----END PGP SIGNATURE-----
More information about the Gcc
mailing list