On 22 June 2018 at 13:12, Eric Blake <[email protected]> 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 docker-mingw@fedora 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
