Cygwin g++3.3.1 generates very slow code

Wei Qin wqin@Princeton.EDU
Wed Jan 7 05:16:00 GMT 2004


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



More information about the Gcc-help mailing list