Etienne Lorrain <[EMAIL PROTECTED]> wrote: > If I compile that with GCC-3.4, I get: > > $ size tmp.o > text data bss dec hex filename > 243 0 0 243 f3 tmp.o > > With GCC-4.0: > > $ size tmp.o > text data bss dec hex filename > 387 0 0 387 183 tmp.o > > Can someone confirm the problem first?
I can confirm that this function shows a regression simply with -Os, on x86-linux: GCC 3.4.3: text data bss dec hex filename 194 0 0 194 c2 test.o GCC 4.1.0 CVS 20050323 text data bss dec hex filename 280 0 0 280 118 test.o So it's a 44% increase. Definitely worth a bugreport in Bugzilla! -- Giovanni Bajo