From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60305) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WFZIJ-0005GI-57 for qemu-devel@nongnu.org; Mon, 17 Feb 2014 20:16:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WFZID-0007Xi-5O for qemu-devel@nongnu.org; Mon, 17 Feb 2014 20:16:19 -0500 Received: from mail-qc0-x236.google.com ([2607:f8b0:400d:c01::236]:39983) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WFZID-0007Xc-1b for qemu-devel@nongnu.org; Mon, 17 Feb 2014 20:16:13 -0500 Received: by mail-qc0-f182.google.com with SMTP id c9so25004430qcz.13 for ; Mon, 17 Feb 2014 17:16:12 -0800 (PST) Received: from pike.twiddle.home.com ([12.236.175.36]) by mx.google.com with ESMTPSA id w2sm50415225qad.19.2014.02.17.17.16.10 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 17 Feb 2014 17:16:11 -0800 (PST) Sender: Richard Henderson From: Richard Henderson Date: Mon, 17 Feb 2014 19:15:51 -0600 Message-Id: <1392686165-10706-2-git-send-email-rth@twiddle.net> In-Reply-To: <1392686165-10706-1-git-send-email-rth@twiddle.net> References: <1392686165-10706-1-git-send-email-rth@twiddle.net> Subject: [Qemu-devel] [PULL 01/15] TCG: Fix 32-bit host allocation typo List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org The second half register of a 64-bit temp on a 32-bit host was allocated with the wrong base_type. The base_type of the second half register is never checked, but for consistency it should be the same as the first half. Signed-off-by: Richard Henderson --- tcg/tcg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tcg/tcg.c b/tcg/tcg.c index acd02b9..ffc851e 100644 --- a/tcg/tcg.c +++ b/tcg/tcg.c @@ -526,7 +526,7 @@ static inline int tcg_temp_new_internal(TCGType type, int temp_local) ts->temp_local = temp_local; ts->name = NULL; ts++; - ts->base_type = TCG_TYPE_I32; + ts->base_type = type; ts->type = TCG_TYPE_I32; ts->temp_allocated = 1; ts->temp_local = temp_local; -- 1.8.5.3