------- Additional Comments From kargl at gcc dot gnu dot org 2005-03-17 19:46 ------- www.lahey.com also compiles the code. It does issues 2 warnings about using an unitialized variable and a variable set bu never used. As Andrew said, you are in the area of "undefined behavior", which means a compiler can do anything wants.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20520