------- Additional Comments From dann at godzilla dot ics dot uci dot edu 2005-05-12 08:09 ------- (In reply to comment #6) > hmm. code size is actually bigger with -Os. > > -rwxr-xr-x 1 dirtyepic users 15689 May 1 12:02 pr21314-O0 > -rwxr-xr-x 1 dirtyepic users 8333 May 1 12:02 pr21314-O1 > -rwxr-xr-x 1 dirtyepic users 8405 May 1 11:35 pr21314-O2 > -rwxr-xr-x 1 dirtyepic users 8157 May 1 12:03 pr21314-O3 > -rwxr-xr-x 1 dirtyepic users 12989 May 1 11:35 pr21314-Os Don't look at the sizes shown by 'ls -l' look at the text size (as shown by size -f) You can also use 'nm' to see the size of the main function (all the interesting code is in there, right?)
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21314