I agree with hpa here - the behavior that the original author is citing
directly disagrees with the current C standard that I've read, and if
I dig through K&R1 or K&R2, it's probably in there too.
You _may_ be able to ask your compiler through a high level of -O to try
and optimize ignoring the standard so long as it produces "equivalent
output code," but I don't see any real added benefit from the compiler
trying to outsmart the specification. Anytime you're going to try and
produce output from code that is not part of the determinate behavior,
you're asking for trouble. Why should the programmer have to "guess"
how the code they write is going to be interpreted?
-Dossy
-- URL: http://www.panoptic.com/~dossy -< BORK BORK! >- E-MAIL: dossy@panoptic.com Now I'm who I want to be, where I want to be, doing what I've always said I would and yet I feel I haven't won at all... (Aug 9, 95: Goodbye, JG.) "You should change your .sig; not that the world revolves around me." -s. sadie- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu