This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] linux/fs.h - Convert debug functions declared inline __attribute__((format (printf,x,y) to statement expression macros
- From: David Rientjes <rientjes at google dot com>
- To: Joe Perches <joe at perches dot com>
- Cc: Matthew Wilcox <matthew at wil dot cx>, LKML <linux-kernel at vger dot kernel dot org>, Linus Torvalds <torvalds at linux-foundation dot org>, linux-fsdevel at vger dot kernel dot org, gcc at gcc dot gnu dot org
- Date: Tue, 26 Feb 2008 23:38:10 -0800 (PST)
- Subject: Re: [PATCH] linux/fs.h - Convert debug functions declared inline __attribute__((format (printf,x,y) to statement expression macros
- References: <1204081722.19319.405.camel@localhost> <1204084947.19319.411.camel@localhost> <20080227041316.GA23188@parisc-linux.org> <alpine.DEB.1.00.0802262140160.23764@chino.kir.corp.google.com> <1204095249.19319.444.camel@localhost>
On Tue, 26 Feb 2008, Joe Perches wrote:
> > I'm not seeing any change in text size with allyesconfig after applying
> > this patch with latest git:
>
> This is just x86 defconfig
>
allyesconfig should be able to capture any text savings that this patch
offers.
> > Joe, what version of gcc are you using?
>
> $ gcc --version
> gcc (GCC) 4.2.2 20071128 (prerelease) (4.2.2-3.1mdv2008.0)
>
My x86_64 defconfig with gcc 4.0.3 had no difference in text size after
applying your patch, yet the same config on gcc 4.1.2 did:
text data bss dec hex filename
5386112 846328 719560 6952000 6a1440 vmlinux.before
5386048 846328 719560 6951936 6a1400 vmlinux.after