public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Mark Mitchell <mark@codesourcery.com>
To: Benjamin Kosnik <bkoz@redhat.com>
Cc: gcc@gcc.gnu.org, guenth@tat.physik.uni-tuebingen.de, jh@suse.cz
Subject: Re: C compile time
Date: Wed, 18 Jun 2003 20:11:00 -0000	[thread overview]
Message-ID: <1055964298.31496.150.camel@doubledemon.codesourcery.com> (raw)
In-Reply-To: <20030618104343.1e1ce684.bkoz@redhat.com>

> It would be nice if some of the inlining issues got sorted out for 3.4,
> and -Winline became deterministic again.

-Winline has never been deterministic.  It just seemed that way.

Since 3.0 , it's just been broken.  It just didn't warn you about a lot
of the cases where it didn't inline.

Before that, it was still non-deterministic, in the sense that the RTL
inliner had throttles that would keep it from inlining as much as you
might have liked.

So, the problem has gotten worse, but it's not a new problem.

For 3.4, we could consider going back to the "bottom-up" inlining
strategy.  That might be better than what we have now, even though it's
inherently quadratic.  Implementing bottom-up inlining wouldn't be
terribly hard; all the same tree-inlining machinery would work.

One of the things we seem to forget in all the inlining discussion is
that inlining has never worked well.  In fact, one of the big
motivations in going to function-at-a-time was to try to fix all the
lameness in the RTL inliner!  On many large C++ programs, the 2.95 era
compilers would simply exhaust all memory trying to do inlining...

I'm pretty convinced that there's no easy fix, unfortunately.

-- 
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com

  reply	other threads:[~2003-06-18 19:24 UTC|newest]

Thread overview: 71+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-18 16:34 Benjamin Kosnik
2003-06-18 20:11 ` Mark Mitchell [this message]
2003-06-18 20:49   ` Jan Hubicka
2003-06-18 20:52   ` Zack Weinberg
2003-06-18 21:26     ` Mark Mitchell
2003-06-18 21:51       ` Zack Weinberg
2003-06-18 23:09         ` Mark Mitchell
2003-06-19 15:21       ` Jan Hubicka
2003-06-19 16:31         ` Mark Mitchell
2003-06-19 16:36           ` Jan Hubicka
2003-06-19 16:41             ` Mark Mitchell
2003-06-19 17:08               ` Jan Hubicka
2003-06-19 17:33               ` Jeff Sturm
  -- strict thread matches above, loose matches on Subject: below --
2003-06-30 15:28 Robert Dewar
2003-06-30 14:25 Robert Dewar
2003-06-30 14:58 ` Daniel Berlin
2003-06-29 13:51 Robert Dewar
2003-06-30 13:50 ` Paul Koning
2003-06-19 20:16 Dara Hazeghi
2003-06-19 20:16 ` Andrew Pinski
2003-06-19 20:22 ` Diego Novillo
2003-06-19 21:58   ` Dara Hazeghi
2003-06-19 21:58     ` Diego Novillo
2003-06-20 22:42       ` Dara Hazeghi
2003-06-21  0:34         ` Diego Novillo
2003-06-19 21:59     ` Jan Hubicka
2003-06-19 20:44 ` Jan Hubicka
2003-06-19 21:23   ` Dara Hazeghi
2003-06-19 21:23     ` Jan Hubicka
2003-06-19 21:26       ` Dara Hazeghi
2003-06-19 21:31         ` Jan Hubicka
2003-06-19 21:59           ` Jan Hubicka
2003-06-20  0:55             ` Dara Hazeghi
2003-06-19 22:10 ` Steven Bosscher
2003-06-19 22:30   ` Steven Bosscher
2003-06-19 14:58 Richard Guenther
2003-06-18 21:51 Chris Lattner
2003-06-18 21:18 Chris Lattner
2003-06-18 17:52 Chris Lattner
2003-06-18 18:01 ` Jan Hubicka
2003-06-18 18:08   ` Chris Lattner
2003-06-18 18:28 ` Wolfgang Bangerth
2003-06-18 18:48   ` Chris Lattner
2003-06-18 18:57     ` Wolfgang Bangerth
2003-06-18 19:28       ` Chris Lattner
2003-06-18 19:30         ` Wolfgang Bangerth
2003-06-18 19:31           ` Chris Lattner
2003-06-18 16:12 Wolfgang Bangerth
2003-06-18 17:48 ` Jan Hubicka
     [not found] <Pine.LNX.4.44.0306181249160.6712-100000@bellatrix.tat.physik.uni-tuebingen. de>
2003-06-18 15:54 ` Mark Mitchell
2003-06-18 17:42   ` Jan Hubicka
2003-06-18 13:08 Richard Guenther
     [not found] <3EEFA473.1020800@student.tudelft.nl>
2003-06-18  4:36 ` Dara Hazeghi
2003-06-18  3:38 Andrew Pinski
2003-06-18  7:43 ` Dara Hazeghi
2003-06-18  8:41   ` Steven Bosscher
2003-06-18  9:14     ` Jan Hubicka
2003-06-18  9:15       ` Steven Bosscher
2003-06-18 10:07         ` Jan Hubicka
2003-06-18 10:55           ` Steven Bosscher
2003-06-18 12:38             ` Jan Hubicka
2003-06-18 12:51               ` Jan Hubicka
2003-06-18 22:03         ` Dara Hazeghi
2003-06-20 20:36           ` Scott Robert Ladd
2003-06-21  0:31             ` Dara Hazeghi
2003-06-21 16:14             ` Michael S. Zick
2003-07-04  7:14           ` Ben Elliston
2003-06-18 14:00   ` Scott Robert Ladd
2003-06-18  2:31 Dara Hazeghi
2003-06-18 10:38 ` Joseph S. Myers
2003-06-18 20:36   ` Dara Hazeghi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1055964298.31496.150.camel@doubledemon.codesourcery.com \
    --to=mark@codesourcery.com \
    --cc=bkoz@redhat.com \
    --cc=gcc@gcc.gnu.org \
    --cc=guenth@tat.physik.uni-tuebingen.de \
    --cc=jh@suse.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).