This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: assertify pdp11
Paul Koning wrote:
! gcc_assert (!addr);
Is (!addr) what the coding conventions call for? I really dislike
treating non-bool items as if they were bool, so I always write
(addr != 0) as in the original.
Generally yes, but there's certainly more leeway in the target
files. If '(addr == 0)' makes you happy, then that's fine.
That "unreachable" looks like a not-yet-implemented case. Will try to
check that out...
yeah, looked that way to me -- sorry I forgot to mention it in the email.
nathan
--
Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery LLC
nathan@codesourcery.com :: http://www.planetfall.pwp.blueyonder.co.uk