[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080228084237.GU24887@devserv.devel.redhat.com>
Date: Thu, 28 Feb 2008 03:42:37 -0500
From: Jakub Jelinek <jakub@...hat.com>
To: Jan Hubicka <hubicka@....cz>
Cc: David Rientjes <rientjes@...gle.com>,
Joe Perches <joe@...ches.com>, Matthew Wilcox <matthew@....cx>,
LKML <linux-kernel@...r.kernel.org>,
Linus Torvalds <torvalds@...ux-foundation.org>,
linux-fsdevel@...r.kernel.org, gcc@....gnu.org,
zadeck@...uralbridge.com
Subject: Re: [PATCH] linux/fs.h - Convert debug functions declared inline __attribute__((format (printf,x,y) to statement expression macros
On Thu, Feb 28, 2008 at 12:58:35AM +0100, Jan Hubicka wrote:
> We probably also can simply allow inlining variadic functions not
> calling va_start. I must say that this option appeared to me but I was
> unable to think of any sane use case. This probably is one ;)
We already allow inlining variadic functions not calling va_start, already
3.2.x did that and so do all following gccs. In 4.3+
__builtin_va_arg_pack{,_len} support was added, so that you can even pass
the ... arguments to variable length functions, query their count etc.
Jakub
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists