public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/21308] New: [4.0/4.1 Regression] Very high compile time
@ 2005-04-30 21:37 peturrun at internet dot is
  2005-04-30 21:39 ` [Bug c++/21308] " peturrun at internet dot is
                   ` (12 more replies)
  0 siblings, 13 replies; 19+ messages in thread
From: peturrun at internet dot is @ 2005-04-30 21:37 UTC (permalink / raw)
  To: gcc-bugs

Compiling this program takes a very long time with GCC 4.x compared with GCC
3.3. GCC 3.4 fails to compile it, which has already been reported as PR18462.

Compile times for current mainline, GCC 4.0 and GCC 3.3 on a 500 MHz Pentium III
with 512 MB RAM:

[petur@interim cgx]$ time g++-cvs -O3 -c CheckersGameX.ii

real    0m41.298s
user    0m39.016s
sys     0m0.958s
[petur@interim cgx]$ g++-cvs -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../gcc-cvs/configure --program-suffix=-cvs
--enable-threads=posix --enable-languages=c,c++ --enable-__cxa_atexit
--prefix=/home/petur/opt/gcc-cvs --disable-checking
Thread model: posix
gcc version 4.1.0 20050430 (experimental)
[petur@interim cgx]$ time g++400 -O3 -c CheckersGameX.ii

real    0m43.372s
user    0m39.739s
sys     0m0.966s
[petur@interim cgx]$ g++400 -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../gcc-4.0.0/configure --program-suffix=400
--enable-version-specific-runtime-libs --enable-threads=posix
--enable-languages=c,c++,java --enable-__cxa_atexit
Thread model: posix
gcc version 4.0.0
[petur@interim cgx]$ time g++335 -O3 -c CheckersGameX.ii

real    0m0.115s
user    0m0.051s
sys     0m0.018s
[petur@interim cgx]$ g++335 -v
Reading specs from /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/specs
Configured with: ../gcc-3.3.5/configure --program-suffix=335
--enable-threads=posix --enable-version-specific-runtime-libs
--enable-languages=c,c++
Thread model: posix
gcc version 3.3.5

-- 
           Summary: [4.0/4.1 Regression] Very high compile time
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: peturrun at internet dot is
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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


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

end of thread, other threads:[~2005-11-06 19:53 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-30 21:37 [Bug c++/21308] New: [4.0/4.1 Regression] Very high compile time peturrun at internet dot is
2005-04-30 21:39 ` [Bug c++/21308] " peturrun at internet dot is
2005-04-30 21:40 ` peturrun at internet dot is
2005-04-30 23:07 ` dberlin at gcc dot gnu dot org
2005-04-30 23:25 ` dberlin at gcc dot gnu dot org
2005-04-30 23:36 ` pinskia at gcc dot gnu dot org
2005-04-30 23:47 ` pinskia at gcc dot gnu dot org
2005-04-30 23:52 ` pinskia at gcc dot gnu dot org
2005-05-01  2:10 ` [Bug c++/21308] [3.4/4.0/4.1 " pinskia at gcc dot gnu dot org
2005-05-01  2:29 ` pinskia at gcc dot gnu dot org
2005-05-09 15:26 ` jakub at gcc dot gnu dot org
2005-05-19 17:35 ` mmitchel at gcc dot gnu dot org
2005-07-22 21:18 ` pinskia at gcc dot gnu dot org
2005-09-27 16:14 ` mmitchel at gcc dot gnu dot org
     [not found] <bug-21308-4127@http.gcc.gnu.org/bugzilla/>
2005-10-31  3:11 ` mmitchel at gcc dot gnu dot org
2005-11-06  0:55 ` mmitchel at gcc dot gnu dot org
2005-11-06 18:21 ` mmitchel at gcc dot gnu dot org
2005-11-06 19:41 ` mmitchel at gcc dot gnu dot org
2005-11-06 19:53 ` mmitchel 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).