public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* compile time regression, when adding cerr usage
@ 2004-07-17 21:06 andre maute
  2004-07-27  0:57 ` James E Wilson
  2004-12-10 22:11 ` [Bug rtl-optimization/16613] [3.4 Regression] " andre maute
  0 siblings, 2 replies; 13+ messages in thread
From: andre maute @ 2004-07-17 21:06 UTC (permalink / raw)
  To: gcc-bugs

[-- Attachment #1: Type: text/plain, Size: 1922 bytes --]

when compiling the attached test file, you can see that the debugging test
needs 
	8 min!  with g++-3.4.1
Every other test including g++-3.3.3 needs only some seconds.

Defining __DEBUGGING__ 
enables the usage of std::cerr, which happens at the end of the attached file.

My system is a Dual Pentium III 550 with linux-2.4.26

Regards Andre


--------------- BEGINNING OF TESTS THE -------------------------

login:~ # /opt/gcc-3.3.3/bin/g++-3.3.3 -v
Reading specs from /opt/gcc-3.3.3/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/specs
Configured with: ../gcc-3.3.3/configure --prefix=/opt/gcc-3.3.3 
--enable-shared --enable-languages=c,c++ --enable-threads=posix 
--enable-__cxa_atexit --enable-clocale=gnu --program-suffix=-3.3.3 
--with-cpu=pentium3
Thread model: posix
gcc version 3.3.3


login:~ # time /opt/gcc-3.3.3/bin/g++-3.3.3 compiletimetest.cc -c -O3 
-funroll-all-loops -frerun-loop-opt -fomit-frame-pointer

real    0m2.202s
user    0m2.150s
sys     0m0.030s


login:~ # time /opt/gcc-3.3.3/bin/g++-3.3.3 compiletimetest.cc -c -O3 
-funroll-all-loops -frerun-loop-opt -fomit-frame-pointer -D __DEBUGGING__

real    0m5.202s
user    0m4.390s
sys     0m0.120s


login:~ # /opt/gcc-3.4.1/bin/g++-3.4.1 -v
Reading specs from /opt/gcc-3.4.1/lib/gcc/i686-pc-linux-gnu/3.4.1/specs
Configured with: ../gcc-3.4.1/configure --prefix=/opt/gcc-3.4.1 
--enable-shared --enable-languages=c,c++ --enable-threads=posix 
--enable-__cxa_atexit --enable-clocale=gnu --program-suffix=-3.4.1 
--with-cpu=pentium3
Thread model: posix
gcc version 3.4.1


login:~ # time /opt/gcc-3.4.1/bin/g++-3.4.1 compiletimetest.cc -c -O3 
-funroll-all-loops -frerun-loop-opt -fomit-frame-pointer

real    0m6.670s
user    0m6.550s
sys     0m0.120s


login:~ # time /opt/gcc-3.4.1/bin/g++-3.4.1 compiletimetest.cc -c -O3 
-funroll-all-loops -frerun-loop-opt -fomit-frame-pointer -D __DEBUGGING__

real    8m31.470s
user    7m53.460s
sys     0m34.400s


[-- Attachment #2: compiletimetest.cc.gz --]
[-- Type: application/x-gzip, Size: 13601 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread
* [Bug c++/16613] New: compile time regression, when adding cerr usage
@ 2004-07-18 10:11 andre dot maute at gmx dot de
  2004-11-28  5:27 ` [Bug rtl-optimization/16613] [3.4 Regression] " lerdsuwa at gcc dot gnu dot org
                   ` (6 more replies)
  0 siblings, 7 replies; 13+ messages in thread
From: andre dot maute at gmx dot de @ 2004-07-18 10:11 UTC (permalink / raw)
  To: gcc-bugs

See http://gcc.gnu.org/ml/gcc-bugs/2004-07/msg02181.html 
 
because i didn't see how to attach a file in the bugzilla formular, 
i first sent my bug to gcc-bugs.gcc.org 
 
regards andre

-- 
           Summary: compile time regression, when adding cerr usage
           Product: gcc
           Version: 3.4.1
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: andre dot maute at gmx dot de
                CC: gcc-bugs at gcc dot gnu dot org


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


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2004-12-11  8:10 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-17 21:06 compile time regression, when adding cerr usage andre maute
2004-07-27  0:57 ` James E Wilson
2004-07-27  8:00   ` andre maute
2004-07-27 18:02     ` James E Wilson
2004-12-10 22:11 ` [Bug rtl-optimization/16613] [3.4 Regression] " andre maute
2004-12-10 23:10   ` Daniel Berlin
2004-07-18 10:11 [Bug c++/16613] New: " andre dot maute at gmx dot de
2004-11-28  5:27 ` [Bug rtl-optimization/16613] [3.4 Regression] " lerdsuwa at gcc dot gnu dot org
2004-12-01 13:39 ` ebotcazou at gcc dot gnu dot org
2004-12-10 22:36 ` andre dot maute at gmx dot de
2004-12-10 22:43 ` andre dot maute at gmx dot de
2004-12-10 23:12 ` dberlin at gcc dot gnu dot org
2004-12-11  3:28 ` andre dot maute at gmx dot de
2004-12-11  8:10 ` pinskia 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).