Current-Users archive

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

Re: xentools411 fails build

On Mon, Mar 18, 2019 at 11:30:49AM +1100, matthew green wrote:
> Martin Husemann writes:
> > IMO the most stupid warning ever added to gcc. I would just disable it for
> > newer gcc.
> i don't agree.  some times it is very difficult to avoid and
> it sometimes misdiagnoses the problem but it found a couple
> of dozen real bugs where user input would lead to segv, so it
> has clear value in my mind.

OK, let me rephrase that: the idea of the warning is fine, but the 
implemenation makes it useless as there is no way you can avoid it in
perfectly fine code, besides adding horrible hacks to the code that
actually make the generated code worse.


Home | Main Index | Thread Index | Old Index