Quality of GCC 3.1

Wit Jakuczun wj178839@wp.pl
Mon Jun 17 14:20:00 GMT 2002


I have few comments and questions on quality of code generated by g++ 
from GCC 3.1.

1) Compiler seems to be much slower than GCC 2.95.2 (3 times on average).
	The code heavily uses STL and exceptions. 

2) Code generated is much slower (3 times on average) especially if streams
	are used.

Questions:
a)	What is the reason of such big decrease in performance especially if
	exceptions and/or streams are used?
b)	Is it a problem of setting correct options for GCC 3.1?
c)	Where can I find a good comparison of C++ compilers?

Options I used to make GCC3.1 (using GCC 2.92.2):
--enable-threads --enable-nls --enable-cstdio=stdio


With regards
	Wit Jakuczun



More information about the Gcc mailing list