public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/22302] New: gfortran.dg/io_invalid_1.f90 has an erroneous test pattern
@ 2005-07-05  2:00 hp at gcc dot gnu dot org
  2005-07-05  2:05 ` [Bug testsuite/22302] " pinskia at gcc dot gnu dot org
  2005-07-05  2:08 ` pinskia at gcc dot gnu dot org
  0 siblings, 2 replies; 3+ messages in thread
From: hp at gcc dot gnu dot org @ 2005-07-05  2:00 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug testsuite/22302] gfortran.dg/io_invalid_1.f90 has an erroneous test pattern
  2005-07-05  2:00 [Bug testsuite/22302] New: gfortran.dg/io_invalid_1.f90 has an erroneous test pattern hp at gcc dot gnu dot org
@ 2005-07-05  2:05 ` pinskia at gcc dot gnu dot org
  2005-07-05  2:08 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-05  2:05 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-07-05 02:05 -------
Should have been fixed already by:
2005-07-04  Francois-Xavier Coudert  <coudert@clipper.ens.fr>

        * gfortran.dg/io_invalid_1.f90: Fix expected error message.

Is it?

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Target Milestone|---                         |4.1.0


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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug testsuite/22302] gfortran.dg/io_invalid_1.f90 has an erroneous test pattern
  2005-07-05  2:00 [Bug testsuite/22302] New: gfortran.dg/io_invalid_1.f90 has an erroneous test pattern hp at gcc dot gnu dot org
  2005-07-05  2:05 ` [Bug testsuite/22302] " pinskia at gcc dot gnu dot org
@ 2005-07-05  2:08 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-05  2:08 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-07-05 02:08 -------
Yes this has already been fixed:
WRITE(UNIT=6,END=999) 0 ! { dg-error "END tag .* not allowed in output statement" }



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |FIXED


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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-07-05  2:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-05  2:00 [Bug testsuite/22302] New: gfortran.dg/io_invalid_1.f90 has an erroneous test pattern hp at gcc dot gnu dot org
2005-07-05  2:05 ` [Bug testsuite/22302] " pinskia at gcc dot gnu dot org
2005-07-05  2:08 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).