\n sub [x],1"
"\n jnz xLoop"
);
buffer[24*80] = 0;
puts(buffer);
return 0;
}
And this is gcc -v output:
Reading specs from /usr/lib/gcc-lib/i486-linux/3.3.4/specs
Configured with: ../src/configure -v
--enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --pr
--- Comment #1 from ulvinge at gmail dot com 2006-08-25 19:13 ---
I fogot to mention, that the line that caused the bug is this line
"\n lea ebx, ebx+buffer"
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28847
--- Comment #3 from ulvinge at gmail dot com 2006-08-25 19:27 ---
OK, but what is PR 2252 ?
Nevermind, it was easy to fix...
just change
lea ebx, ebx+buffer
to
lea ebx, buffer+ebx
Simple, but it's still a bug.
I wont care.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28847