The new test gfortran.dg/io_invalid_1.f90 fails for cris-axis-linux-gnu,
but I expect it to fail everywhere:
FAIL: gfortran.dg/io_invalid_1.f90  -O   (test for errors, line 3)
FAIL: gfortran.dg/io_invalid_1.f90  -O  (test for excess errors)

gfortran.log says:
/home/hp/combined/combined/gcc/testsuite/gfortran.dg/io_invalid_1.f90   -O  
-pedantic-errors -S    -o io_invalid_1.s    (timeout = 300)
 In file
/home/hp/combined/combined/gcc/testsuite/gfortran.dg/io_invalid_1.f90:3^M
^M
WRITE(UNIT=6,END=999) 0 ! { dg-error "END tag .* is not compatible with
output"^M
                   1^M
Error: END tag at (1) not allowed in output statement^M

Apparently the expected error message is something other than what is emitted.
I don't know which is right or if the bug is elsewhere.

Committer of test-case CC:ed.

-- 
           Summary: gfortran.dg/io_invalid_1.f90 has an erroneous test
                    pattern
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: testsuite
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hp at gcc dot gnu dot org
                CC: fxcoudert at gcc dot gnu dot org,gcc-bugs at gcc dot gnu
                    dot org
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: cris-axis-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22302

Reply via email to