This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix PR21595
On Mon, May 16, 2005 at 08:36:42PM -0600, Roger Sayle wrote:
> My maintainer-sense is tingling that it may be preferable to add
> a "return 0;" at the end of main in this testcase.
Some idiot in the c++ commitee convinced the rest that, as a
special case, falling off the end of main should be treated
the same as if it had a return 0. Later, some (other) idiot
convinced the c commitee to copy the brain damage into c99.
It's a truely disgusting and totally useless rule.
r~