This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Assertify l*.c
Nathan Sidwell <nathan@codesourcery.com> writes:
| > I'd suggest
| > at least spelling the assert like
| > gcc_assert (inc != 0);
|
| Y'know, I really don't understand this POV. The C language specifies that
| expressions in boolean context are implicitly compared against zero. Adding
yes but thaty does not imply that we should not make things clearer on
occasion. The C standard allows lots of things, some f them are
questionabble.
| in the '!= 0' part invites an infinite series of '!= 0' as Hofstadter writes
| in 'Goedel, Escher, Bach'.
I strongly disagree.
-- Gaby