------- Comment #3 from rguenth at gcc dot gnu dot org  2007-02-21 12:35 -------
And indeed, for x86_64 we have

[EMAIL PROTECTED]:/abuild/rguenther/trunk-g/gcc> ./xgcc -B. -Os
-fdump-ipa-inline t.i -c
[EMAIL PROTECTED]:/abuild/rguenther/trunk-g/gcc> size t.o 
   text    data     bss     dec     hex filename
     94       0       0      94      5e t.o
[EMAIL PROTECTED]:/abuild/rguenther/trunk-g/gcc> ./xgcc -B. -Os
-fdump-ipa-inline t.i -c -fno-inline
[EMAIL PROTECTED]:/abuild/rguenther/trunk-g/gcc> size t.o 
   text    data     bss     dec     hex filename
    123       0       0     123      7b t.o

so with inlining the function twice text size is smaller than without inlining.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30908

Reply via email to