Received: from eggs.gnu.org ([208.118.235.92]:50691) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TcEoV-0004sh-IW for qemu-devel@nongnu.org; Sat, 24 Nov 2012 07:26:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TcEoU-0001Vm-6S for qemu-devel@nongnu.org; Sat, 24 Nov 2012 07:26:27 -0500 Received: from hall.aurel32.net ([2001:470:1f15:c4f::1]:48359) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TcEoT-0001VZ-W7 for qemu-devel@nongnu.org; Sat, 24 Nov 2012 07:26:26 -0500 Date: Sat, 24 Nov 2012 13:26:14 +0100 From: Aurelien Jarno Message-ID: <20121124122614.GB4016@ohm.aurel32.net> References: <1353754694-18712-1-git-send-email-aurelien@aurel32.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] [PATCH] tcg: mark local temps as MEM in dead_temp() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Max Filippov Cc: qemu-devel@nongnu.org On Sat, Nov 24, 2012 at 02:28:15PM +0300, Max Filippov wrote: > On Sat, Nov 24, 2012 at 2:58 PM, Aurelien Jarno wrote: > > In dead_temp, local temps should always be marked as back to memory, > > even if they have not been allocated (i.e. they are discared before > > cross a basic block). > > > > It fixes the following assertion in target-xtensa: > > > > qemu-system-xtensa: tcg/tcg.c:1665: temp_save: Assertion `s->temps[temp].val_type == 2 || s->temps[temp].fixed_reg' failed. > > Aborted > > > > Reported-by: Max Filippov > > Signed-off-by: Aurelien Jarno > > Tested-by: Max Filippov > Thanks for the test, I have applied the patch. -- Aurelien Jarno GPG: 1024D/F1BCDB73 aurelien@aurel32.net http://www.aurel32.net