From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KzrTu-000794-Kq for qemu-devel@nongnu.org; Tue, 11 Nov 2008 06:32:26 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KzrTs-00077j-AE for qemu-devel@nongnu.org; Tue, 11 Nov 2008 06:32:24 -0500 Received: from [199.232.76.173] (port=52503 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KzrTr-00077V-U7 for qemu-devel@nongnu.org; Tue, 11 Nov 2008 06:32:23 -0500 Received: from savannah.gnu.org ([199.232.41.3]:42243 helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KzrTo-0003Ed-4X for qemu-devel@nongnu.org; Tue, 11 Nov 2008 06:32:20 -0500 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.63) (envelope-from ) id 1KzrSB-00033t-R7 for qemu-devel@nongnu.org; Tue, 11 Nov 2008 11:30:40 +0000 Received: from aurel32 by cvs.savannah.gnu.org with local (Exim 4.63) (envelope-from ) id 1KzrRp-00033O-Ch for qemu-devel@nongnu.org; Tue, 11 Nov 2008 11:30:30 +0000 MIME-Version: 1.0 Errors-To: aurel32 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Aurelien Jarno Message-Id: Date: Tue, 11 Nov 2008 11:30:17 +0000 Subject: [Qemu-devel] [5671] target-alpha: fix double TCG variable allocation Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Revision: 5671 http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5671 Author: aurel32 Date: 2008-11-11 11:30:04 +0000 (Tue, 11 Nov 2008) Log Message: ----------- target-alpha: fix double TCG variable allocation Noticed by Chris Krumme. Signed-off-by: Aurelien Jarno Modified Paths: -------------- trunk/target-alpha/translate.c Modified: trunk/target-alpha/translate.c =================================================================== --- trunk/target-alpha/translate.c 2008-11-11 03:04:57 UTC (rev 5670) +++ trunk/target-alpha/translate.c 2008-11-11 11:30:04 UTC (rev 5671) @@ -236,7 +236,7 @@ int ra, int rb, int32_t disp16, int fp, int clear, int local) { - TCGv addr = tcg_temp_new(TCG_TYPE_I64); + TCGv addr; if (local) addr = tcg_temp_local_new(TCG_TYPE_I64); else