From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LBPg9-0000Qx-8C for qemu-devel@nongnu.org; Sat, 13 Dec 2008 03:16:49 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LBPg8-0000Qh-BH for qemu-devel@nongnu.org; Sat, 13 Dec 2008 03:16:48 -0500 Received: from [199.232.76.173] (port=45817 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LBPg8-0000Qd-1s for qemu-devel@nongnu.org; Sat, 13 Dec 2008 03:16:48 -0500 Received: from savannah.gnu.org ([199.232.41.3]:36194 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 1LBPg7-0000xa-TT for qemu-devel@nongnu.org; Sat, 13 Dec 2008 03:16:48 -0500 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.63) (envelope-from ) id 1LBPg6-0003IT-70 for qemu-devel@nongnu.org; Sat, 13 Dec 2008 08:16:46 +0000 Received: from blueswir1 by cvs.savannah.gnu.org with local (Exim 4.63) (envelope-from ) id 1LBPg5-0003IJ-B9 for qemu-devel@nongnu.org; Sat, 13 Dec 2008 08:16:45 +0000 MIME-Version: 1.0 Errors-To: blueswir1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Blue Swirl Message-Id: Date: Sat, 13 Dec 2008 08:16:45 +0000 Subject: [Qemu-devel] [5998] Fix TARGET_LONG_BITS warning in TCG 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: 5998 http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5998 Author: blueswir1 Date: 2008-12-13 08:16:43 +0000 (Sat, 13 Dec 2008) Log Message: ----------- Fix TARGET_LONG_BITS warning in TCG Looking at tcg/tcg.c:828, the bug that the warning indicated would show up as incorrect PC shown in log, only on 32 bit big endian host emulating a 64 bit target, -d op flag enabled. Now that dyngen is gone, the patch can be applied. Modified Paths: -------------- trunk/tcg/tcg-runtime.c Modified: trunk/tcg/tcg-runtime.c =================================================================== --- trunk/tcg/tcg-runtime.c 2008-12-12 20:02:52 UTC (rev 5997) +++ trunk/tcg/tcg-runtime.c 2008-12-13 08:16:43 UTC (rev 5998) @@ -29,6 +29,7 @@ #include "config.h" #include "osdep.h" +#include "cpu.h" // For TARGET_LONG_BITS #include "tcg.h" int64_t tcg_helper_shl_i64(int64_t arg1, int64_t arg2)