------- Comment #10 from eedelman at gcc dot gnu dot org 2006-01-14 15:38 ------- (In reply to comment #9) > > 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 >
Bummer. Actually, I see that problem as well in my cross compiler. I must have been sloppy in my testing. I will attach an improved patch shortly. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25716