------- Comment #9 from ebotcazou at gcc dot gnu dot org 2006-01-14 08:22 ------- > Attached a patch that fixes the problem on x86 and a cross-compiler to > sparc64. I intend to contemplate it a bit further before I post it to the > list for review.
It doesn't seem to work for me (on the 4.1 branch): Executing on host: /opt/build/eric/gcc-4_1-branch/gcc/testsuite/../gfortran -B/opt/build/eric/gcc-4_1-branch/gcc/testsuite/../ /home/eric/svn/gcc-4_1-branch/gcc/testsuite/gfortran.dg/char_result_11.f90 -O -pedantic-errors -S -o char_result_11.s (timeout = 300) /home/eric/svn/gcc-4_1-branch/gcc/testsuite/gfortran.dg/char_result_11.f90: In function 'MAIN__': /home/eric/svn/gcc-4_1-branch/gcc/testsuite/gfortran.dg/char_result_11.f90:101:error: void value not ignored as it ought to be /home/eric/svn/gcc-4_1-branch/gcc/testsuite/gfortran.dg/char_result_11.f90:105:error: void value not ignored as it ought to be /home/eric/svn/gcc-4_1-branch/gcc/testsuite/gfortran.dg/char_result_11.f90:107:error: void value not ignored as it ought to be /home/eric/svn/gcc-4_1-branch/gcc/testsuite/gfortran.dg/char_result_11.f90:107:error: void value not ignored as it ought to be Target: sparc64-sun-solaris2.9 Configured with: /home/eric/svn/gcc-4_1-branch/configure sparc64-sun-solaris2.9--prefix=/opt/build/eric/local/gcc-4_1-branch --with-gmp=/opt/build/eric/local --with-mpfr=/opt/build/eric/local --with-local-prefix=/opt/build/eric/local --enable-languages=c,c++,objc,obj-c++,java,fortran --disable-multilib Thread model: posix gcc version 4.1.0 20060109 (prerelease) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25716