This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/16613] [3.4/3.5? Regression] compile time regression, when adding cerr usage
- From: "wilson at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Jul 2004 18:10:22 -0000
- Subject: [Bug rtl-optimization/16613] [3.4/3.5? Regression] compile time regression, when adding cerr usage
- References: <20040718101108.16613.andre.maute@gmx.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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