This is the mail archive of the gcc-help@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]

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


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