------- Comment #3 from rogerio at rilhas dot com 2010-08-12 14:54 ------- Correction:
If line "char buffer[1000]; buffer[0]=0;" _is removed then_ GCC then compiles the code as expected and "dif" will be 4. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45265