qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PULL v2 0/9] bitmap export over NBD


From: Peter Maydell
Subject: Re: [Qemu-devel] [PULL v2 0/9] bitmap export over NBD
Date: Fri, 22 Jun 2018 13:13:32 +0100

On 22 June 2018 at 13:12, Eric Blake <address@hidden> wrote:
> Uurgh. It's a false positive (the compiler is complaining that the variable
> is uninitialized, which can only happen if the while loop is not executed;
> but the preconditions guarantee the loop executes at least once).  The
> assert() that I added was enough to silence gcc 7.3.1 on my Fedora 27
> system, but address@hidden is using gcc-8.1.1-1.fc28.x86_64. This
> should silence things (another way to silence would be rewriting while{}
> into do{}while).  I'll submit this as a formal patch if I can reproduce the
> problem/fix on docker.

Huh. I had thought this was an old-gcc problem, not a new-gcc
one. Might be worth submitting to the gcc folks as a regression...

thanks
-- PMM



reply via email to

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