This is the mail archive of the
mailing list for the GCC project.
Re: assertify mn10300
Alexandre Oliva wrote:
The problem was not the inversion of the condition, but rather the
fact that, with checking disabled, the gcc_assert would be completely
optimized away, thus enabling the broken situation to skip the abort()
call and proceed to code that might fail to handle it properly.
I fail to understand the state of mind that complains about the fact
that when configured with 'please disable all consistency checks', then
gosh darn it, all the consistency checks are removed. It's like
complaining that when I take the safety off a gun, well gosh darn it,
I can shoot things.
Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery LLC
firstname.lastname@example.org :: http://www.planetfall.pwp.blueyonder.co.uk