public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Joe Buck <jbuck@synopsys.COM>
To: pfeifer@dbai.tuwien.ac dot@(Gerald Pfeifer)
Cc: mark@codesourcery.com (Mark Mitchell), gcc@gcc.gnu.org
Subject: Re: C++ compile-time regressions (was: GCC 3.0.1 Status Report)
Date: Fri, 20 Jul 2001 14:20:00 -0000	[thread overview]
Message-ID: <200107202119.OAA02159@atrus.synopsys.com> (raw)
In-Reply-To: <Pine.BSF.4.33.0107190925220.7949-100000@taygeta.dbai.tuwien.ac.at>

> On Wed, 18 Jul 2001, Mark Mitchell wrote:
> > I know we have already made some pretty significant bug-fixes, so I'm
> > confident that the 3.0.1 release will be useful to current 3.0 users.
> > It would be nice to address some of the lingering issues relative to
> > GCC 2.95 that are preventing people from upgrading.

Gerald writes:
> Well, here I have to step up again, I'm afraid.  If you look at
>   http://gcc.gnu.org/ml/gcc/2001-07/msg01376.html
> you'll see that C++ projects heavily relying on STL apparently
> simply cannot use GCC 3.0.

Rather, probably don't want to use 3.0 yet.

>                    GCC 2.95                         GCC 3.0
>           Compile time    Binary size      Compile time   Binary Size
>   -O0             6:19    3915128                  8:20   4159780
>   -O1             4:20    4203480                 11:40   4829732
>   -O2             5:56    4209368                 14:09   4862532
>   -O3             5:47    4221464                 32:04   6166052

This makes it clear that -O3 is unusable at the moment, but that's no surprise;
better to let the user rather than the compiler decide which functions
to inline.  That leaves us with (for -O2) 2.38 times the compile time,
and 16% larger code.

> This is not (only) an inlining problem it seems?

I suggest making like Brad Lucier and posting profiling data, to help
track down where the extra time is being spent.

> And, as shown by the table in my original message, the generated code
> is also significantly slower, probably because of the ADDRESSOF issue
> which still has not been resolved yet, AFAIK?

Again, to help, the developers are going to need to see examples of where
the pessimization is showing up, ideally important loops that are yielding
worse code.

  parent reply	other threads:[~2001-07-20 14:20 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-18 18:41 GCC 3.0.1 Status Report Mark Mitchell
2001-07-19  6:17 ` Joseph S. Myers
2001-07-20  3:45 ` Nathan Sidwell
2001-07-20 10:26 ` C++ compile-time regressions (was: GCC 3.0.1 Status Report) Gerald Pfeifer
2001-07-20 10:54   ` Nathan Sidwell
2001-07-20 16:41     ` Loren James Rittle
2001-07-23  5:17       ` Gerald Pfeifer
2001-07-23 11:56       ` Daniel Berlin
2001-07-23  2:51     ` Gerald Pfeifer
2001-07-20 10:55   ` Mark Mitchell
2001-07-20 14:22     ` Joe Buck
2001-07-20 16:28       ` Mark Mitchell
2001-07-20 21:05         ` Joe Buck
2001-07-23 10:44           ` Gerald Pfeifer
2001-07-23 11:12             ` Joe Buck
2001-07-23 11:57               ` Gerald Pfeifer
2001-07-23 13:30                 ` Joe Buck
2001-07-24  7:18                   ` Gerald Pfeifer
2001-07-24  7:55                     ` Daniel Berlin
2001-07-24 10:09                     ` Joe Buck
2001-07-24 10:19                       ` Gabriel Dos Reis
2001-07-24 10:44                         ` Joe Buck
2001-07-24 10:56                           ` Gabriel Dos Reis
2001-07-24 10:25                       ` Daniel Berlin
2001-07-24 10:49                         ` Joe Buck
2001-07-24 11:08                           ` Daniel Berlin
2001-07-23 14:36                 ` Mark Mitchell
2001-07-25  8:06                   ` Gerald Pfeifer
2001-08-02  0:20                     ` C++ compile-time regressions Gerald Pfeifer
2001-08-02  0:26                       ` Mark Mitchell
2001-08-02 11:00                       ` aoliva
2001-08-02 12:00                         ` Mark Mitchell
2001-08-02 12:26                           ` aoliva
2001-08-02 12:37                             ` Joe Buck
2001-08-02 12:41                             ` Mark Mitchell
2001-08-02 12:48                               ` Joe Buck
2001-08-02 13:53                       ` Daniel Berlin
2001-08-07  7:54                         ` Gerald Pfeifer
2001-07-23 11:54             ` C++ compile-time regressions (was: GCC 3.0.1 Status Report) Daniel Berlin
2001-07-23 12:42               ` Bernd Schmidt
2001-07-23 12:50               ` law
2001-07-23 13:15                 ` Daniel Berlin
2001-07-23 14:00                   ` law
2001-07-20 10:57   ` Daniel Berlin
2001-07-20 14:20   ` Joe Buck [this message]
2001-07-25 17:52 ` GCC 3.0.1 Status Report Marc Espie
2001-08-13 23:15   ` Mark Mitchell

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=200107202119.OAA02159@atrus.synopsys.com \
    --to=jbuck@synopsys.com \
    --cc=gcc@gcc.gnu.org \
    --cc=mark@codesourcery.com \
    --cc=pfeifer@dbai.tuwien.ac \
    /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).