This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GCC 3.4.0 20040114 + GCC 3.3.2 compile-time performance comparisonon MICO project sources.
- From: Karel Gardas <kgardas at objectsecurity dot com>
- To: Gerald Pfeifer <gp at suse dot de>
- Cc: GCC Mailing List <gcc at gcc dot gnu dot org>
- Date: Mon, 19 Jan 2004 21:07:49 +0100 (CET)
- Subject: Re: GCC 3.4.0 20040114 + GCC 3.3.2 compile-time performance comparisonon MICO project sources.
On Mon, 19 Jan 2004, Gerald Pfeifer wrote:
> On Mon, 19 Jan 2004, Karel Gardas wrote:
> > OK, I have thought that the -O0 -g (perhaps) build is the most important
> > from compile-time performance view, as it is probably used for
> > development...
>
> Just as an example, in DLV (origin of PR8361) I switched to -O1 years
> ago because that was _faster_ than -O0 at that time, debugging was still
> okay, and test runs with the generated binary were much faster.
>
> -O0 really is not too useful in some contexts.
OK, I will try to add -O1, -O2 and -O3 to the table. Then I will search
for biggest slowdowns in different files (hand-written/machine generated)
and create bugreport for bugzilla.
Thanks for all your suggestions,
Karel
--
Karel Gardas kgardas@objectsecurity.com
ObjectSecurity Ltd. http://www.objectsecurity.com