This is the mail archive of the
mailing list for the GCC project.
Re: inline-limit: some experimental feedback
- To: Bernd Schmidt <bernds at redhat dot com>, Gerald Pfeifer <pfeifer at dbai dot tuwien dot ac dot at>
- Subject: Re: inline-limit: some experimental feedback
- From: Mark Mitchell <mark at codesourcery dot com>
- Date: Tue, 21 Aug 2001 16:39:33 -0700
- cc: "Richard dot Kreckel at uni-mainz dot de" <Richard dot Kreckel at uni-mainz dot de>, "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
--On Tuesday, August 21, 2001 01:22:42 PM +0100 Bernd Schmidt
> On Tue, 21 Aug 2001, Gerald Pfeifer wrote:
>> The proper fix really is to improve the inliner.
> Is it possible to switch 3.0 back to the rtl inliner for C++?
It's nontrivial (although not impossible), but it would be extremely
risky -- and note that the new inliner does generate better code
for lots of people in lots of cases.
The inliner is getting blamed, but that is not the real problem. The
real problems with compile-times are coming from excessive memory use
(partly due to inefficiencies in the tree nodes themselves, partly due
to waste in the C++ front-end) and a slow garbage-collector. I've
confirmed this with data on a variety of different programs.
The slower run-times Gerald is reporting are not something I understand
at this point.
Mark Mitchell email@example.com
CodeSourcery, LLC http://www.codesourcery.com