Heroic failures (q = q++)

Rob Carriere rob at raksha.eng.ohio-state.edu
Thu Jun 27 03:59:14 AEST 1991


In article <946.imc at uk.ac.ox.prg> imc at prg.ox.ac.uk (Ian Collier) writes:
[undefined programs leading to]	JSR _cpu$detonate
>
>Now I was just wondering, is there any statement in the ANSI standard
>which prohibits self-destruction of the CPU or any similar behaviour
>which might be physically dangerous or expensive? 

Contrariwise, it is a subtle consequence of a little-known appendix to the
Standard that all undefined behavior must in fact include the exercise of
lethal force on the programmer.  This is known as the Standard review of the
public. 

>If not, do you think such limits would be reasonable to include? 

I believe they're considered a Common Extension.

>Oh yes,
>       :-)   :-)   :-)   :-)   :-)   :-)   :-)   :-)   :-)

Indeed?

SR
---





More information about the Comp.lang.c mailing list