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 rtl-optimization/16613] [3.4/3.5? Regression] compile time regression, when adding cerr usage


------- Additional Comments From wilson at gcc dot gnu dot org  2004-07-27 18:10 -------
On my Athlon64 system, it is 2 seconds to compile without __DEBUGGING__ and  1
minutes 40 seconds with.

I can reproduce the problem with -O2 -finline-functions, and it goes away if I
compile with just -O2.  It also goes away if I ifdef out the cerr uses in the
average_n functions.

The .s file increases in size by a factor of 5-7 when __DEBUGGING__ is defined,
depending on the exact options used.  This explains why the compile takes so
much longer, because we are generating and optimizing so much more code.

-- 


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


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