public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "olh at suse dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/21304] New: very long compile times with large cpp file from kdebindings
Date: Sat, 30 Apr 2005 19:53:00 -0000	[thread overview]
Message-ID: <20050430195349.21304.olh@suse.de> (raw)

compiling kdebindings hangs after a while.
the attached testcase (680k) takes a very long time to compile.

abuild@tangelo:~> /usr/bin/time ./install_gcc41-1-O1/libexec/gcc/powerpc-unknown-linux-gnu/4.1.0/cc1plus -fpreprocessed /tmp/sipqtpart0.ii -quiet -dumpbase sipqtpart0.cpp -auxbase-strip sipqtpart0.o -O2 -O2 -Wall -Wall -Wall -W -version -fmessage-length=0 -fPIC -fmessage-length=0 -o sipqtpart0.s -O2 -v
ignoring nonexistent directory "/home/abuild/install_gcc41-1-O1/lib/gcc/powerpc-unknown-linux-gnu/4.1.0/../../../../powerpc-unknown-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
 /home/abuild/install_gcc41-1-O1/lib/gcc/powerpc-unknown-linux-gnu/4.1.0/../../../../include/c++/4.1.0
 /home/abuild/install_gcc41-1-O1/lib/gcc/powerpc-unknown-linux-gnu/4.1.0/../../../../include/c++/4.1.0/powerpc-unknown-linux-gnu
 /home/abuild/install_gcc41-1-O1/lib/gcc/powerpc-unknown-linux-gnu/4.1.0/../../../../include/c++/4.1.0/backward
 /usr/local/include
 /home/abuild/install_gcc41-1-O1/include
 /home/abuild/install_gcc41-1-O1/lib/gcc/powerpc-unknown-linux-gnu/4.1.0/include
 /usr/include
End of search list.
GNU C++ version 4.1.0 20050429 (experimental) (powerpc-unknown-linux-gnu)
        compiled by GNU C version 4.1.0 20050429 (experimental).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
/usr/lib/qt3/include/qnetworkprotocol.h:58: warning: 'class QNetworkProtocolFactoryBase' has virtual functions but non-virtual destructor
/usr/lib/qt3/include/qtooltip.h:86: warning: 'class QToolTip' has virtual functions but non-virtual destructor
/usr/lib/qt3/include/qfiledialog.h:78: warning: 'class QFilePreview' has virtual functions but non-virtual destructor
16616.21user 2.85system 4:37:01elapsed 99%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (0major+275763minor)pagefaults 0swaps

gcc 4.0 -O0  == 0:02:15 h:mm:ss
gcc 4.0 -O1  == 1:06:00
gcc 4.0 -O2  == 4:05:00
gcc 4.1 -O2  == 4:37:00 

This is on a 1.5GHz POWER5.

./install_gcc40-1-O1/bin/g++ -v
Using built-in specs.
Target: powerpc-unknown-linux-gnu
Configured with: /home/abuild/src/gcc-4_0-branch/configure --prefix=/home/abuild/install_gcc40-1-O1 --enable-threads=posix --enable-languages=c,c++ --enable-checking --with-system-zlib --enable-shared --enable-__cxa_atexit --disable-nls
Thread model: posix
gcc version 4.0.1 20050429 (prerelease)

I'm trying mainline with --disable-checking at the moment.

-- 
           Summary: very long compile times with large cpp file from
                    kdebindings
           Product: gcc
           Version: 4.0.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: olh at suse dot de
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: powerpc-linux
  GCC host triplet: powerpc-linux
GCC target triplet: powerpc-linux


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21304


             reply	other threads:[~2005-04-30 19:53 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-30 19:53 olh at suse dot de [this message]
2005-04-30 19:54 ` [Bug c++/21304] " olh at suse dot de
2005-04-30 19:58 ` [Bug middle-end/21304] " pinskia at gcc dot gnu dot org
2005-04-30 20:02 ` [Bug c++/21304] " pinskia at gcc dot gnu dot org
2005-04-30 20:19 ` pinskia at gcc dot gnu dot org
2005-04-30 20:25 ` pinskia at gcc dot gnu dot org
2005-04-30 23:04 ` dberlin at gcc dot gnu dot org
2005-04-30 23:37 ` pinskia at gcc dot gnu dot org
2005-05-01  4:11 ` olh at suse dot de
2005-05-01  8:10 ` olh at suse dot de
2005-05-02  3:34 ` [Bug tree-optimization/21304] [4.0/4.1 regression] " belyshev at depni dot sinp dot msu dot ru
2005-05-02  5:14   ` Andrew Pinski
2005-05-02  5:14 ` pinskia at physics dot uc dot edu
2005-05-02  5:57 ` olh at suse dot de
2005-07-23 23:55 ` pinskia at gcc dot gnu dot org
2005-07-24  0:14 ` pinskia at gcc dot gnu dot org
2005-09-19  1:08 ` pinskia at gcc dot gnu dot org
2005-09-27 15:59 ` mmitchel at gcc dot gnu dot org

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=20050430195349.21304.olh@suse.de \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /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).