Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!elroy.jpl.nasa.gov!ncar!asuvax!stjhmc!f14.n15.z1.fidonet.org!Dave.Harris From: Dave.Harris@f14.n15.z1.fidonet.org (Dave Harris) Newsgroups: comp.lang.c Subject: Re: Can analysis detect undefined expressions? Message-ID: <14816.28673F12@stjhmc.fidonet.org> Date: 25 Jun 91 12:59:52 GMT Sender: ufgate@stjhmc.fidonet.org (newsout1.26) Organization: FidoNet node 1:15/14 - Nibbles 'n Bits, Orem UT Lines: 24 In a message of , Jonathan Gingerich (1:114/15) writes: >Not arguing that the result is undefined as you say. But.... >I for one would quickly scrap any compiler that went to the additional work of >embedding code to yield a value of anything other than 1,2,3 or 4 for i. It >would mean the compiler would have to detect the undefined statement first >before it could even do this. ... >Not if it were setting i on 4 CPUs run in parallel! >Jon. Are the electronics such that the same memory address can really be written to similtaneously? If so would you expect a completely random result or something in the range of 1 to 7? Dave Harris -- Uucp: ...{gatech,ames,rutgers}!ncar!asuvax!stjhmc!15!14!Dave.Harris Internet: Dave.Harris@f14.n15.z1.fidonet.org