Received: from eggs.gnu.org ([2001:4830:134:3::10]:34063) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XhCD0-0001vu-65 for qemu-devel@nongnu.org; Thu, 23 Oct 2014 02:49:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XhCCu-0004RX-0j for qemu-devel@nongnu.org; Thu, 23 Oct 2014 02:49:18 -0400 Message-ID: <5448A4E5.1020605@msgid.tls.msk.ru> Date: Thu, 23 Oct 2014 10:49:09 +0400 From: Michael Tokarev MIME-Version: 1.0 References: <54369514.5000004@gmail.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [Qemu-trivial] [PATCH] disas/libvixl/a64/instructions-a64.h: Remove useless varialbe to avoid building break with '-Werror' List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell , Chen Gang Cc: QEMU Trivial , qemu-devel , "rth@twiddle.net" On 10/21/2014 07:50 PM, Peter Maydell wrote: > On 9 October 2014 15:00, Chen Gang wrote: [] >> --- a/disas/libvixl/a64/instructions-a64.h >> +++ b/disas/libvixl/a64/instructions-a64.h >> @@ -95,30 +95,6 @@ const unsigned kDoubleExponentBits = 11; >> const unsigned kFloatMantissaBits = 23; >> const unsigned kFloatExponentBits = 8; >> >> -const float kFP32PositiveInfinity = rawbits_to_float(0x7f800000); >> -const float kFP32NegativeInfinity = rawbits_to_float(0xff800000); ... > Upstream's plan for fixing this is to turn these into > 'extern const double foo' in the header with the definition > in an appropriate .cc file. Given that, I think I'm happy for > us to take this patch in QEMU for the moment, with the expectation > that the next libvixl drop will just obsolete it. If upstream already have a patch for this, why not take the upstream's solution now, so we wont need to revert our solution before applying next drop from upstream? BTW, how the "upstream drop" is done, anyway? If it is something like git merge, we may need to care, but if it is just cp -a upstream/* . when there's no reason to... ;) Thanks, /mjt