On 22 February 2011 18:19, Peter Maydell <peter.mayd...@linaro.org> wrote:
> +            tmp = tcg_const_i32(0);
> +            store_reg(s, rt, tmp);

This generates spurious "resource leak" warnings, because
store_reg() calls dead_tmp() so you can't store anything
you didn't get from new_tmp().

I think I'll do what Aurelien suggested and put together
a patch that implements the resource-leak debug as a proper
facility at the tcg level.

-- PMM

Reply via email to