On Thu, 30 Jul 2020 at 12:28, Kaige Li <lika...@loongson.cn> wrote: > > On 07/30/2020 07:21 PM, Peter Maydell wrote: > > Clang, gcc, OSX clang, something else, and which version number? > Sorry for that. Gcc version is 4.9.4.
Ah, that makes sense. That's a pretty old version of gcc (it's almost the oldest we still support), and it had more false-positives for maybe-used-uninitialized warnings than more recent gcc versions. Adding in the = NULL initializer should help it. thanks -- PMM