From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=50088 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P79cP-0005Vr-Hl for qemu-devel@nongnu.org; Sat, 16 Oct 2010 12:28:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P79cO-00023b-MN for qemu-devel@nongnu.org; Sat, 16 Oct 2010 12:28:25 -0400 Received: from mail-qy0-f180.google.com ([209.85.216.180]:32839) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P79cO-00023W-IZ for qemu-devel@nongnu.org; Sat, 16 Oct 2010 12:28:24 -0400 Received: by qyk1 with SMTP id 1so2346905qyk.4 for ; Sat, 16 Oct 2010 09:28:24 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <4CB74350.80201@redhat.com> <4CB7AF6F.4010104@redhat.com> From: Blue Swirl Date: Sat, 16 Oct 2010 16:28:01 +0000 Message-ID: Subject: Re: [Qemu-devel] Re: [PATCH] Suppress warning: zero-length gnu_printf format string Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: qemu-devel@nongnu.org On Sat, Oct 16, 2010 at 12:37 AM, Paolo Bonzini wrote= : > On 10/15/2010 07:41 PM, Blue Swirl wrote: >> >> Which functions are optimized away and which aren't? > > It's builtins only that are optimized away or otherwise inlined (printf, > sprintf, etc.). =C2=A0Other calls stay, together with side effects and cl= ock > cycles. Then the warning makes sense (slightly) and should remain on main QEMU side= .