This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/25716] FAIL: gfortran.dg/char_result_11.f90 -O (test for excess errors)
- From: "eedelman at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Jan 2006 15:38:37 -0000
- Subject: [Bug fortran/25716] FAIL: gfortran.dg/char_result_11.f90 -O (test for excess errors)
- References: <bug-25716-276@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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