Can analysis detect undefined expressions?

Dave Harris Dave.Harris at f14.n15.z1.fidonet.org
Tue Jun 25 22:59:52 AEST 1991


In a message of <Jun 21 17:44>, 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 at f14.n15.z1.fidonet.org



More information about the Comp.lang.c mailing list