This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Cygwin g++3.3.1 generates very slow code
- From: Wei Qin <wqin at Princeton dot EDU>
- To: gcc-help at gcc dot gnu dot org
- Date: Wed, 7 Jan 2004 00:16:46 -0500 (EST)
- Subject: Cygwin g++3.3.1 generates very slow code
Hello,
I built some c++ code with g++3.3.1 on Cygwin and the result code
has extremely poor speed (about 4x slower) compared with the result
from the g++3.2.2 on Redhat. However, the cygwin g++ appears normal to my
other code. The optimization level is -O3.
The only difference between the code seems that the slow code
heavily uses small template objects. Is there any obvious correlation
between the use of template and the code quality of this g++?
Thanks,
Wei