Obscure C code (was Re: Excessive optimization)
Eric Smith
eric at brouhaha.com
Thu Dec 2 21:39:08 CST 2010
Brent Hilpert wrote:
> Perhaps it is more or less obvious when presented in stark, pared-down
> form like this, but what is wrong with the following C program, or
> what problem might be anticipated? (Arguably, it's not really a C
> language problem):
>
> main()
> {
> Read();
> }
>
> Read()
> {
> blah;
> blah;
> }
>
Is blah the name of a function? If so, I've definitely encountered this
problem before. GCC will warn about it.
Eric
More information about the cctech
mailing list