From: Blue Swirl <blauwirbel@gmail.com>
To: Stefan Weil <weil@mail.berlios.de>
Cc: jay.foad@gmail.com, qemu-devel@nongnu.org
Subject: [Qemu-devel] Re: [PATCH] target-sparc: fix --enable-debug build for 64 bit host
Date: Thu, 25 Feb 2010 20:41:33 +0200 [thread overview]
Message-ID: <f43fc5581002251041o71990439v2189a13f42028a35@mail.gmail.com> (raw)
In-Reply-To: <1267121141-5099-1-git-send-email-weil@mail.berlios.de>
Thanks, applied.
On 2/25/10, Stefan Weil <weil@mail.berlios.de> 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 <weil@mail.berlios.de>
> ---
> 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
>
>
prev parent reply other threads:[~2010-02-25 18:41 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-20 10:45 [Qemu-devel] [PATCH v2] target-sparc: fix --enable-debug build Jay Foad
2010-02-20 11:12 ` Blue Swirl
2010-02-25 18:05 ` [Qemu-devel] [PATCH] target-sparc: fix --enable-debug build for 64 bit host Stefan Weil
2010-02-25 18:08 ` [Qemu-devel] " Jay Foad
2010-02-25 18:41 ` Blue Swirl [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f43fc5581002251041o71990439v2189a13f42028a35@mail.gmail.com \
--to=blauwirbel@gmail.com \
--cc=jay.foad@gmail.com \
--cc=qemu-devel@nongnu.org \
--cc=weil@mail.berlios.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).