From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NkieW-0003vR-Cx for qemu-devel@nongnu.org; Thu, 25 Feb 2010 13:41:36 -0500 Received: from [199.232.76.173] (port=42979 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NkieV-0003v8-JS for qemu-devel@nongnu.org; Thu, 25 Feb 2010 13:41:35 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NkieV-0007Hw-32 for qemu-devel@nongnu.org; Thu, 25 Feb 2010 13:41:35 -0500 Received: from mail-pz0-f194.google.com ([209.85.222.194]:55358) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NkieU-0007Hq-OF for qemu-devel@nongnu.org; Thu, 25 Feb 2010 13:41:34 -0500 Received: by pzk32 with SMTP id 32so858011pzk.4 for ; Thu, 25 Feb 2010 10:41:33 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <1267121141-5099-1-git-send-email-weil@mail.berlios.de> References: <1267121141-5099-1-git-send-email-weil@mail.berlios.de> Date: Thu, 25 Feb 2010 20:41:33 +0200 Message-ID: From: Blue Swirl Content-Type: text/plain; charset=UTF-8 Subject: [Qemu-devel] Re: [PATCH] target-sparc: fix --enable-debug build for 64 bit host List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Weil Cc: jay.foad@gmail.com, qemu-devel@nongnu.org Thanks, applied. On 2/25/10, Stefan Weil wrote: > b551ec04ca45d1925417dd2ec7c1b7f115c84f1d fixed > the compilation for 32 bit hosts, but introduced > a new error for 64 bit hosts: > > tcg_temp_new_ptr needs a matching tcg_temp_free_ptr. > > Signed-off-by: Stefan Weil > --- > target-sparc/translate.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/target-sparc/translate.c b/target-sparc/translate.c > index 18ec65a..9d1ceea 100644 > --- a/target-sparc/translate.c > +++ b/target-sparc/translate.c > @@ -1681,7 +1681,7 @@ static inline void gen_load_trap_state_at_tl(TCGv_ptr r_tsptr, TCGv_ptr cpu_env) > TCGv_ptr r_tl_tmp = tcg_temp_new_ptr(); > tcg_gen_ext_i32_ptr(r_tl_tmp, r_tl); > tcg_gen_add_ptr(r_tsptr, r_tsptr, r_tl_tmp); > - tcg_temp_free_i32(r_tl_tmp); > + tcg_temp_free_ptr(r_tl_tmp); > } > > tcg_temp_free_i32(r_tl); > > -- > 1.5.6.5 > >