------- Comment #53 from steven at gcc dot gnu dot org  2006-01-15 04:05 -------
FWIW, the part of the C99 standard that talk about uninitialized automatic
variables are 3.17.2, 6.2.4, 6.7.8 (especially point 10), and 6.8.

Also see Appendix J2 "Undefined behavior".

To me, undefined behavior means that GCC could produce code to grow vegetables
on the south pole or to shoot bunnies to the moon, and still not be wrong ;-) 
So it can certainly do whatever it pleases with the uninitialized variable
'node' in the test case...


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24626

Reply via email to