This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: GCC warnings for unused global variables


> > 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]