[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] util/iov: Fix -O1 uninitialized variable warnin

From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH] util/iov: Fix -O1 uninitialized variable warning
Date: Thu, 18 Jul 2013 17:36:20 +0100

On 18 July 2013 17:14, Richard Henderson <address@hidden> wrote:
> At -O2, code in the form
>   if (p) A; B; if (p) C;
> may be rearranged via "jump threading" into
>   if (p) { A; B; C; } else { B; }
> But at -O1 this doesn't happen and we -Werror out here on
> the "may be used uninitialized" orig_len.  Perform this transform
> by hand so that -O1 remains a viable debugging alternative.
> Signed-off-by: Richard Henderson <address@hidden>

This is the same issue fixed by this (reviewed but
never applied) patch from June, isn't it?


-- PMM

reply via email to

[Prev in Thread] Current Thread [Next in Thread]