------- Comment #7 from jv244 at cam dot ac dot uk 2006-12-14 06:41 ------- (In reply to comment #6) > More information. I get Tobias bad result with -m64 on x86-64-Linux. The > problem goes away with -m32. > > $ gfortran -m32 pr30200-2.f90 > $ ./a.out > Axyz > $ gfortran -m64 pr30200-2.f90 > $ ./a.out > Az'
whereas -m32 is printing the right result, I think it is coincidence, at least to original testcase still yields valgrind errors at runtime if compiled with -m32 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30200