public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/21304] New: very long compile times with large cpp file from kdebindings
@ 2005-04-30 19:53 olh at suse dot de
  2005-04-30 19:54 ` [Bug c++/21304] " olh at suse dot de
                   ` (15 more replies)
  0 siblings, 16 replies; 21+ messages in thread
From: olh at suse dot de @ 2005-04-30 19:53 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 21+ messages in thread
[parent not found: <bug-21304-1216@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2005-10-14  3:01 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-30 19:53 [Bug c++/21304] New: very long compile times with large cpp file from kdebindings olh at suse dot de
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
     [not found] <bug-21304-1216@http.gcc.gnu.org/bugzilla/>
2005-10-12 16:12 ` pinskia at gcc dot gnu dot org
2005-10-13  3:10 ` pinskia at gcc dot gnu dot org
2005-10-14  3:01 ` cvs-commit at gcc dot gnu dot org

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).