GCC warnings for unused global variables

Kean Johnston jkj@sco.com
Fri May 2 04:18:00 GMT 2003


> > For instance, at program startup (in this case) the abstract machine
> > says the string contains a particular value, and how can it 
> do that if
> > it is optimized away?
> 
> Ok, I'll play your game.  By the as-if rule, it *does*
> have that value.  Any time the program cares to check
> that'll be true.

Heh :) I must admit that was quite funny. Not sure if the humour was
intended (I suspect it was) but funny nonetheless.

Kean



More information about the Gcc mailing list