This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/17315] New: Strange compile-time regression either in cpp or libstdc++ against gcc3.4.1


Hello,

while trying to submit bugreport about regression in compile-time, I've found
interesting fact, that while not-preprocessed file regress on every optimization
level about 10, 20 and 30% (for -O0, 1, 2) in comparison with 3.4.1, I'm not
able to duplicate such regression while using preprocessed file. A comparison
table looks:

Not preprocessed file:
File            341-O0  350-O0  Delta%  341-O1  350-O1  Delta%  341-O2  350-O2 
Delta%
basic_seq.cc    3.77    4.21    -10.45  3.98    4.99    -20.24  3.82    5.72   
-33.22

File preprocessed by GCC 3.4.1:
File            341-O0  350-O0  Delta%  341-O1  350-O1  Delta%  341-O2  350-O2 
Delta%
basic_seq.cc    3.69    3.31    11.48   3.91    3.47    12.68   3.78    3.65    3.56

File preprocessed by GCC 3.5.0:
File            341-O0  350-O0  Delta%  341-O1  350-O1  Delta%  341-O2  350-O2 
Delta%
basic_seq.cc    4.61    4.15    11.08   5.28    4.83    9.32    5.62    5.57    0.9

3.5.0 is from 20040830.

Whole report to gcc@ mailing list can be found
here:http://gcc.gnu.org/ml/gcc/2004-09/msg00100.html

I will attach all needed file here too.

Karel

-- 
           Summary: Strange compile-time regression either in cpp or
                    libstdc++ against gcc3.4.1
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: kgardas at objectsecurity dot com
                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=17315


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]