assertify mn10300

Nathan Sidwell nathan@codesourcery.com
Sun May 8 09:35:00 GMT 2005


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

-- 
Nathan Sidwell    ::   http://www.codesourcery.com   ::     CodeSourcery LLC
nathan@codesourcery.com    ::     http://www.planetfall.pwp.blueyonder.co.uk



More information about the Gcc-patches mailing list