On Nov 9, 2004, at 2:23 PM, Anders Torger wrote:

gcc 2.95 generates correct code.

It just generates code which you expected not the code which the C standard says it is undefined (oh by the way we could wipe your HD if you invoke undefined behavior).

Also a DR report says we cannot error out on undefined code
because it might not execute at all.

Thanks,
Andrew Pinski



Reply via email to