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

Long term code compactness regression


I compiled the Linux software package busybox with three different
compiler versions on i386.

compiler        opt     size
gcc 2.7.2.3     -O2     213116
gcc 2.95.4-pre  -Os     216652
gcc 3.0.2-pre   -Os     222012

Binaries were stripped, and the .note and .comment sections were
removed.

This is indicating that gcc 2.7.2.3 does *better* with -O2 than 2.95
and 3.x with -Os. If I broke these down to specific testcases and
compared the assembly output, would anyone look at fixing the behavior
of -Os?


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