increase in code size with gcc3.2

James A. Morrison ja2morri@csclub.uwaterloo.ca
Mon Jun 6 13:37:00 GMT 2005


Milind Katikar <milindkatikar@yahoo.com> writes:

> Hello,
> 
> I was using gcc 2.9 (host - i386-pc-cygwin, target √
> sparclet-aout). Recently I have started using gcc 3.2
> (same host and target) primarily to ge the benefit of
> size reduction optimizations in gcc. However I
> observed increase in size for many applications when
> compiled with gcc3.2. All switches passed to gcc when
> compiling with 2.9 and 3.2 are same.

 You didn't mention what those switches are.  Also, I gcc 3.2 is not longer
maintained, so you should try GCC 3.4 or preferably GCC 4.0.


-- 
Thanks,
Jim

http://www.csclub.uwaterloo.ca/~ja2morri/
http://phython.blogspot.com
http://open.nit.ca/wiki/?page=jim



More information about the Gcc mailing list