[Mesa-dev] [PATCH 2/4] nouveau/compiler: init the size and code variables to NULL/0

Ilia Mirkin imirkin at alum.mit.edu
Sat Jun 6 00:06:34 PDT 2015


On Jun 6, 2015 9:51 AM, "Eirik Byrkjeflot Anonsen" <eirik at eirikba.org>
wrote:
>
> Ilia Mirkin <imirkin at alum.mit.edu> writes:
>
> > Sure. Fix it in GCC :) disable the bogus warning, whatever. I really
really
> > hate pandering to broken tools, sending the message that it's ok for the
> > tools to be broken.
>
> While I largely agree with the sentiment, I'm not sure I agree with what
> is a "broken tool". If a tool regularly catches real, nasty bugs and
> "fixing" the false positives have negligible cost, then I don't consider
> the tool broken. When it comes to the warning about uninitialized data,
> that seems to me a typical case of this.

I doubt it's that warning. It's probably the "may be uninitialized" one,
which regularly produces false positives.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150606/4f0ea7dc/attachment.html>


More information about the mesa-dev mailing list