------- Comment #4 from pcarlini at suse dot de 2006-06-16 13:49 ------- (In reply to comment #3) > The source is UTF-8 encoded, and it assumes you are going to run it in a UTF-8 > locale. That might possibly be why you get odd output. > > The expected output should be as per the GCC 3.4 output in the original > report: > > $ g++-3.4 -o wide wide.cc > $ ./wide > 1 > fffäß»fffäß»$
Ok, thanks. Then I used the "en_US.UTF-8" locale and it worked fine, both mainline and stock 4.1.1: no crashes, apparently same output. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28059