Fix PR libfortran/39667

From-SVN: r147004
This commit is contained in:
Janne Blomqvist 2009-04-30 18:12:37 +03:00
parent 43fcece879
commit ee56ac9def
136 changed files with 294 additions and 155 deletions

View File

@ -1,3 +1,139 @@
2009-04-30 Janne Blomqvist <jb@gcc.gnu.org>
PR libfortran/39667
* gfortran.dg/advance_1.f90: Don't require target fd_truncate.
* gfortran.dg/advance_4.f90: Likewise
* gfortran.dg/advance_5.f90: Likewise
* gfortran.dg/append_1.f90: Likewise
* gfortran.dg/backslash_1.f90: Likewise
* gfortran.dg/backslash_2.f90: Likewise
* gfortran.dg/backslash_3.f: Likewise
* gfortran.dg/backspace_10.f90: Likewise
* gfortran.dg/backspace_3.f: Likewise
* gfortran.dg/backspace_4.f: Likewise
* gfortran.dg/backspace_5.f: Likewise
* gfortran.dg/backspace_8.f: Likewise
* gfortran.dg/backspace_9.f: Likewise
* gfortran.dg/complex_write.f90: Likewise
* gfortran.dg/convert_implied_open.f90: Likewise
* gfortran.dg/dollar_edit_descriptor_1.f: Likewise
* gfortran.dg/dos_eol.f: Likewise
* gfortran.dg/empty_format_1.f90: Likewise
* gfortran.dg/endfile.f: Likewise
* gfortran.dg/eof_1.f90: Likewise
* gfortran.dg/eor_1.f90: Likewise
* gfortran.dg/eor_handling_1.f90: Likewise
* gfortran.dg/eor_handling_2.f90: Likewise
* gfortran.dg/eor_handling_3.f90: Likewise
* gfortran.dg/eor_handling_4.f90: Likewise
* gfortran.dg/eor_handling_5.f90: Likewise
* gfortran.dg/error_recovery_5.f90: Likewise
* gfortran.dg/f2003_inquire_1.f03: Likewise
* gfortran.dg/f2003_io_4.f03: Likewise
* gfortran.dg/f2003_io_5.f03: Likewise
* gfortran.dg/f2003_io_7.f03: Likewise
* gfortran.dg/fgetc_1.f90: Likewise
* gfortran.dg/fgetc_2.f90: Likewise
* gfortran.dg/flush_1.f90: Likewise
* gfortran.dg/fmt_exhaust.f90: Likewise
* gfortran.dg/fmt_huge.f90: Likewise
* gfortran.dg/fmt_read.f90: Likewise
* gfortran.dg/fmt_t_1.f90: Likewise
* gfortran.dg/fmt_t_2.f90: Likewise
* gfortran.dg/fmt_t_3.f90: Likewise
* gfortran.dg/fmt_t_4.f90: Likewise
* gfortran.dg/fmt_t_5.f90: Likewise
* gfortran.dg/fmt_t_7.f: Likewise
* gfortran.dg/fseek.f90: Likewise
* gfortran.dg/ftell_1.f90: Likewise
* gfortran.dg/ftell_2.f90: Likewise
* gfortran.dg/func_derived_3.f90: Likewise
* gfortran.dg/inquire_9.f90: Likewise
* gfortran.dg/iostat_1.f90: Likewise
* gfortran.dg/iostat_2.f90: Likewise
* gfortran.dg/list_read_1.f90: Likewise
* gfortran.dg/list_read_4.f90: Likewise
* gfortran.dg/list_read_5.f90: Likewise
* gfortran.dg/list_read_7.f90: Likewise
* gfortran.dg/list_read_8.f90: Likewise
* gfortran.dg/list_read_9.f90: Likewise
* gfortran.dg/namelist_13.f90: Likewise
* gfortran.dg/namelist_14.f90: Likewise
* gfortran.dg/namelist_15.f90: Likewise
* gfortran.dg/namelist_16.f90: Likewise
* gfortran.dg/namelist_17.f90: Likewise
* gfortran.dg/namelist_18.f90: Likewise
* gfortran.dg/namelist_19.f90: Likewise
* gfortran.dg/namelist_20.f90: Likewise
* gfortran.dg/namelist_24.f90: Likewise
* gfortran.dg/namelist_26.f90: Likewise
* gfortran.dg/namelist_27.f90: Likewise
* gfortran.dg/namelist_28.f90: Likewise
* gfortran.dg/namelist_37.f90: Likewise
* gfortran.dg/namelist_38.f90: Likewise
* gfortran.dg/namelist_39.f90: Likewise
* gfortran.dg/namelist_40.f90: Likewise
* gfortran.dg/namelist_43.f90: Likewise
* gfortran.dg/namelist_44.f90: Likewise
* gfortran.dg/namelist_45.f90: Likewise
* gfortran.dg/namelist_46.f90: Likewise
* gfortran.dg/namelist_47.f90: Likewise
* gfortran.dg/namelist_48.f90: Likewise
* gfortran.dg/namelist_49.f90: Likewise
* gfortran.dg/namelist_50.f90: Likewise
* gfortran.dg/namelist_51.f90: Likewise
* gfortran.dg/namelist_52.f90: Likewise
* gfortran.dg/namelist_56.f90: Likewise
* gfortran.dg/namelist_char_only.f90: Likewise
* gfortran.dg/namelist_use.f90: Likewise
* gfortran.dg/namelist_use_only.f90: Likewise
* gfortran.dg/noadv_size.f90: Likewise
* gfortran.dg/open_access_append_1.f90: Likewise
* gfortran.dg/pad_no.f90: Likewise
* gfortran.dg/pr12884.f: Likewise
* gfortran.dg/pr17090.f90: Likewise
* gfortran.dg/pr17285.f90: Likewise
* gfortran.dg/pr17286.f90: Likewise
* gfortran.dg/pr18122.f90: Likewise
* gfortran.dg/pr18210.f90: Likewise
* gfortran.dg/pr18392.f90: Likewise
* gfortran.dg/pr19155.f: Likewise
* gfortran.dg/pr19216.f: Likewise
* gfortran.dg/pr19467.f90: Likewise
* gfortran.dg/pr19657.f: Likewise
* gfortran.dg/pr20257.f90: Likewise
* gfortran.dg/read_bad_advance.f90: Likewise
* gfortran.dg/read_eof_2.f90: Likewise
* gfortran.dg/read_eof_4.f90: Likewise
* gfortran.dg/read_many_1.f: Likewise
* gfortran.dg/read_noadvance.f90: Likewise
* gfortran.dg/read_repeat.f90: Likewise
* gfortran.dg/read_size_noadvance.f90: Likewise
* gfortran.dg/read_x_past.f: Likewise
* gfortran.dg/record_marker_1.f90: Likewise
* gfortran.dg/record_marker_3.f90: Likewise
* gfortran.dg/rewind_1.f90: Likewise
* gfortran.dg/runtime_warning_1.f90: Likewise
* gfortran.dg/shape_3.f90: Likewise
* gfortran.dg/slash_1.f90: Likewise
* gfortran.dg/stat_1.f90: Likewise
* gfortran.dg/stat_2.f90: Likewise
* gfortran.dg/streamio_11.f90: Likewise
* gfortran.dg/streamio_3.f90: Likewise
* gfortran.dg/streamio_4.f90: Likewise
* gfortran.dg/streamio_9.f90: Likewise
* gfortran.dg/tl_editing.f90: Likewise
* gfortran.dg/unf_io_convert_1.f90: Likewise
* gfortran.dg/unf_io_convert_2.f90: Likewise
* gfortran.dg/unf_read_corrupted_2.f90: Likewise
* gfortran.dg/unf_short_record_1.f90: Likewise
* gfortran.dg/utf8_1.f03: Likewise
* gfortran.dg/utf8_2.f03: Likewise
* gfortran.dg/widechar_IO_1.f90: Likewise
* gfortran.dg/write_check3.f90: Likewise
* gfortran.dg/write_rewind_2.f: Likewise
* gfortran.dg/x_slash_2.f: Likewise
2009-04-29 Richard Guenther <rguenther@suse.de>
PR target/39943

View File

@ -1,4 +1,4 @@
! { dg-do run { target fd_truncate } }
! { dg-do run }
! PR25463 Check that advance='no' works correctly.
! Derived from example given in PR by Thomas Koenig
! Contributed by Jerry DeLisle <jvdelisle@gcc.gnu.org>

View File

@ -1,4 +1,4 @@
! { dg-do run { target fd_truncate } }
! { dg-do run }
! PR31207 Last record truncated for read after short write
program main
character(10) :: answer

View File

@ -1,4 +1,4 @@
! { dg-do run { target fd_truncate } }
! { dg-do run }
! PR31207 Last record truncated for read after short write.
character(len=20) :: b
! write something no advance

View File

@ -1,7 +1,7 @@
! PR libfortran/21471
! Testing POSITION="APPEND"
!
! { dg-do run { target fd_truncate } }
! { dg-do run }
subroutine failed
close (10,status='delete')
call abort

View File

@ -1,4 +1,4 @@
! { dg-do run { target fd_truncate } }
! { dg-do run }
character(len=4) a
open (10, status='scratch')
write (10,'(A)') '1\n2'

View File

@ -1,4 +1,4 @@
! { dg-do run { target fd_truncate } }
! { dg-do run }
! { dg-options "-fbackslash" }
integer :: i, e
open (10, status='scratch')

View File

@ -1,4 +1,4 @@
C { dg-do run { target fd_truncate } }
C { dg-do run }
C { dg-options "-fbackslash" }
C PR fortran/30278
program a

View File

@ -1,4 +1,4 @@
! { dg-do run { target fd_truncate } }
! { dg-do run }
! PR33307 I/O read/positioning problem - in BACKSPACE
! Test case devloped from test in PR by Jerry DeLisle <jvdelisle@gcc.gnu.org>
program gfcbug69b

View File

@ -1,4 +1,4 @@
! { dg-do run { target fd_truncate } }
! { dg-do run }
! PR25598 Error on repeated backspaces.
! Derived from example given in PR by Dale Ranta
! Contributed by Jerry DeLisle <jvdelisle@gcc.gnu.org>

View File

@ -1,4 +1,4 @@
! { dg-do run { target fd_truncate } }
! { dg-do run }
! PR25598 Error on repeated backspaces.
! Derived from example given in PR by Dale Ranta
! Contributed by Jerry DeLisle <jvdelisle@gcc.gnu.org>

View File

@ -1,4 +1,4 @@
!{ dg-do run { target fd_truncate } }
!{ dg-do run }
! PR26464 File I/O error related to buffering and BACKSPACE
! Test case derived from case by Dale Ranta.
! Submitted by Jerry DeLisle <jvdelisle@gcc.gnu.org>

View File

@ -1,4 +1,4 @@
C { dg-do run { target fd_truncate } }
C { dg-do run }
C PR libfortran/31618 - backspace after an error didn't work.
program main
character*78 msg

View File

@ -1,4 +1,4 @@
! { dg-do run { target fd_truncate } }
! { dg-do run }
! PR32235 incorrectly position text file after backspace
! Test case from PR, prepared by Jerry DeLisle <jvdelisle@gcc.gnu.org>
program main

View File

@ -1,4 +1,4 @@
! { dg-do run { target fd_truncate } }
! { dg-do run }
! pr 19071
! test case provided by
! Thomas.Koenig@online.de

View File

@ -1,4 +1,4 @@
! { dg-do run { target fd_truncate } }
! { dg-do run }
! { dg-options "-fconvert=swap" }
! PR 26735 - implied open didn't use to honor -fconvert
program main

View File

@ -1,4 +1,4 @@
! { dg-do run { target fd_truncate } }
! { dg-do run }
! { dg-options "-w" }
! PR libfortran/20006
character*5 c

View File

@ -1,5 +1,5 @@
! PR libfortran/19678 and PR libfortran/19679
! { dg-do run { target fd_truncate } }
! { dg-do run }
integer i, j
open (10,status='scratch')

View File

@ -1,4 +1,4 @@
! { dg-do run { target fd_truncate } }
! { dg-do run }
! PR 17709
! We weren't resetting the internal EOR flag correctly, so the second read
! wasn't advancing to the next line.

View File

@ -1,4 +1,4 @@
! { dg-do run { target fd_truncate } }
! { dg-do run }
! PR25550 file data corrupted after reading end of file.
! Derived from example given in PR from Dale Ranta.
! Contributed by Jerry DeLisle <jvdelisle@gcc.gnu.org>

View File

@ -1,4 +1,4 @@
! { dg-do run { target fd_truncate } }
! { dg-do run }
! Program to test for proper EOF errors when reading past the end of a file.
! We used to get this wrong when a formatted read followed a list formatted
! read.

View File

@ -1,4 +1,4 @@
! { dg-do run { target fd_truncate } }
! { dg-do run }
! PR 19451: The test for advance='NO' with eor used to be reversed.
program main
character*2 c

View File

@ -1,4 +1,4 @@
! { dg-do run { target fd_truncate } }
! { dg-do run }
! PR 17992: Reading an empty file should yield zero with pad='YES'
! (which is the default).
! Test case supplied by milan@cmm.ki.si.

View File

@ -1,4 +1,4 @@
! { dg-do run { target fd_truncate } }
! { dg-do run }
! PR 19568: Don't read across end of line when the format is longer
! than the line length and pad='yes' (default)
program main

View File

@ -1,4 +1,4 @@
! { dg-do run { target fd_truncate } }
! { dg-do run }
! PR 19595: Handle end-of-record condition with pad=yes (default)
program main
integer i1, i2

View File

@ -1,4 +1,4 @@
! { dg-do run { target fd_truncate } }
! { dg-do run }
! PR 20092, 20131: Handle end-of-record condition with pad=yes (default)
! for standard input. This test case only really tests anything if,
! by changing unit 5, you get to manipulate the standard input.

View File

@ -1,4 +1,4 @@
! { dg-do run { target fd_truncate } }
! { dg-do run }
! PR 20661: Handle non-advancing I/O with iostat
! Test case by Walt Brainerd, The Fortran Company

View File

@ -1,4 +1,4 @@
! { dg-do run { target fd_truncate } }
! { dg-do run }
! PR34411 hang-up during read of non-expected input
! Test case derived from that given in PR
! Prior to patch, the do loop was infinite, limits set in this one

View File

@ -1,4 +1,4 @@
! { dg-do run { target fd_truncate } }
! { dg-do run }
! { dg-options "-std=gnu" }
character(25) :: sround, ssign, sasynchronous, sdecimal, sencoding
integer :: vsize, vid

View File

@ -1,4 +1,4 @@
! { dg-do run { target fd_truncate } }
! { dg-do run }
! Test case prepared by Jerry DeLisle <jvdelisle@gcc.gnu.org>
! Test of decimal= feature

View File

@ -1,4 +1,4 @@
! { dg-do run { target fd_truncate } }
! { dg-do run }
! Test case prepared by Jerry DeLisle <jvdelisle@gcc.gnu.org>
! Test of decimal="comma" in namelist and complex
integer :: i

View File

@ -1,4 +1,4 @@
! { dg-do run { target fd_truncate } }
! { dg-do run }
! Test case prepared by Jerry DeLisle <jvdelisle@gcc.gnu.org>
! Test of sign=, decimal=, and blank= .
program iotests

View File

@ -1,5 +1,5 @@
! Testcase for the FGETC and FPUTC intrinsics
! { dg-do run { target fd_truncate } }
! { dg-do run }
character(len=5) s
integer st

View File

@ -1,5 +1,5 @@
! Testcase for the FGETC and FPUTC intrinsics
! { dg-do run { target fd_truncate } }
! { dg-do run }
character(len=5) s
integer st

View File

@ -1,4 +1,4 @@
! { dg-do run { target fd_truncate } }
! { dg-do run }
! PR 22390 Implement flush statement
program flush_1

View File

@ -1,4 +1,4 @@
! { dg-do run { target fd_truncate } }
! { dg-do run }
! PR27304 Test running out of data descriptors with data remaining.
! Derived from case in PR. Submitted by Jerry DeLisle <jvdelisle@gcc.gnu.org>.
program test

View File

@ -1,4 +1,4 @@
! { dg-do run { target fd_truncate } }
! { dg-do run }
! PR32446 printing big numbers in F0.1 format.
! This segfaulted before the patch.
open (10, status="scratch")

View File

@ -1,4 +1,4 @@
! { dg-do run { target fd_truncate } }
! { dg-do run }
! pr18398, missing data on sequential formatted reads
! test contributed by Thomas.Koenig@online.de
open(7,status='scratch')

View File

@ -1,4 +1,4 @@
! { dg-do run { target fd_truncate } }
! { dg-do run }
integer nrow, vec(15)
open (10, status="scratch")
write (10, fmt='(a)') '001 1 2 3 4 5 6'

View File

@ -1,5 +1,5 @@
! { dg-options "" }
! { dg-do run { target fd_truncate } }
! { dg-do run }
! pr24699, handle end-of-record on READ with T format
! test contributed by Jerry DeLisle <jvdelisle@gcc.gnu.org>
character*132 :: foost1, foost2, foost3

View File

@ -1,4 +1,4 @@
! { dg-do run { target fd_truncate } }
! { dg-do run }
! PR31051 bug with x and t format descriptors.
! Test case prepared by Jerry DeLisle <jvdelisle@gcc.gnu.org> from PR.
program t

View File

@ -1,4 +1,4 @@
! { dg-do run { target fd_truncate } }
! { dg-do run }
! PR31199, test case from PR report.
program write_write
character(len=20) :: a,b,c

View File

@ -1,4 +1,4 @@
! { dg-do run { target fd_truncate } }
! { dg-do run }
! PR32678 GFortan works incorrectly when writing with FORMAT Tx
! Before patch, NULLs were inserted in output.
! Test case from reporter enhanced to detect this problem.

View File

@ -1,4 +1,4 @@
! { dg-do run { target fd_truncate } }
! { dg-do run }
! PR34974 null bytes when reverse-tabbing long records
! Test case prepared by Jerry DeLisle <jvdelisle@gcc.gnu.org>
program test

View File

@ -1,4 +1,4 @@
! { dg-do run { target fd_truncate } }
! { dg-do run }
PROGRAM test_fseek
INTEGER, PARAMETER :: SEEK_SET = 0, SEEK_CUR = 1, SEEK_END = 2, fd=10

View File

@ -1,4 +1,4 @@
! { dg-do run { target fd_truncate } }
! { dg-do run }
integer(kind=8) o, o2
open (10, status="scratch")

View File

@ -1,4 +1,4 @@
! { dg-do run { target fd_truncate } }
! { dg-do run }
integer(kind=8) o
open (10, status="scratch")
if (ftell(10) /= 0) call abort

View File

@ -1,4 +1,4 @@
! { dg-do run { target fd_truncate } }
! { dg-do run }
! This tests the "virtual fix" for PR19561, where pointers to derived
! types were not generating correct code. This testcase is based on
! the original PR example. This example not only tests the

View File

@ -1,5 +1,5 @@
! PR fortran/24774
! { dg-do run { target fd_truncate } }
! { dg-do run }
logical :: l
l = .true.
inquire (file='inquire_9 file that should not exist', exist=l)

View File

@ -1,4 +1,4 @@
! { dg-do run { target fd_truncate } }
! { dg-do run }
! PR 23598 - The iostat variable wasn't reset if the previous
! I/O library call had an error.
program main

View File

@ -1,5 +1,5 @@
! PR libfortran/23784
! { dg-do run { target fd_truncate } }
! { dg-do run }
integer i
close(10, status="whatever", iostat=i) ! { dg-warning "STATUS specifier in CLOSE statement.*has invalid value" }
if (i == 0) call abort()

View File

@ -1,4 +1,4 @@
! { dg-do run { target fd_truncate } }
! { dg-do run }
! Program to test terminators in list-directed input
program list_read_1
character(len=5) :: s

View File

@ -1,4 +1,4 @@
! { dg-do run { target fd_truncate } }
! { dg-do run }
! Test of gfortran list directed read> check delimiters are correctly
! treated. Written in f77 so that g77 will run for comparison.
!

View File

@ -1,4 +1,4 @@
! { dg-do run { target fd_truncate } }
! { dg-do run }
! PR25307 Check handling of end-of-file conditions for list directed reads.
! Prepared by Jerry DeLisle <jvdelisle@gcc.gnu.org>
program pr25307

View File

@ -1,4 +1,4 @@
! { dg-do run { target fd_truncate } }
! { dg-do run }
! PR33400 Formatted read fails if line ends without line break
! Test case modified from that in PR by <jvdelisle@gcc.gnu.org>
integer, parameter :: fgsl_strmax = 128

View File

@ -1,4 +1,4 @@
! { dg-do run { target fd_truncate } }
! { dg-do run }
! PR34676 IO error delayed
! Test case from PR modified by <jvdelisle@gcc.gnu.org>
implicit none

View File

@ -1,4 +1,4 @@
! { dg-do run { target fd_truncate } }
! { dg-do run }
! pr37083 formatted read of line without trailing new-line fails
real :: a, b, c
open(unit=10,file="atest",access='stream',form='unformatted',&

View File

@ -1,4 +1,4 @@
!{ dg-do run { target fd_truncate } }
!{ dg-do run }
! Tests simple derived types.
! Provided by Paul Thomas - pault@gcc.gnu.org

View File

@ -1,4 +1,4 @@
!{ dg-do run { target fd_truncate } }
!{ dg-do run }
! Tests various combinations of intrinsic types, derived types, arrays,
! dummy arguments and common to check nml_get_addr_expr in trans-io.c.
! See comments below for selection.

View File

@ -1,4 +1,4 @@
!{ dg-do run { target fd_truncate } }
!{ dg-do run }
! Tests arrays of derived types containing derived type arrays whose
! components are character arrays - exercises object name parser in
! list_read.c. Checks that namelist output can be reread.

View File

@ -1,4 +1,4 @@
!{ dg-do run { target fd_truncate } }
!{ dg-do run }
! Tests namelist on complex variables
! provided by Paul Thomas - pault@gcc.gnu.org
program namelist_16

View File

@ -1,4 +1,4 @@
!{ dg-do run { target fd_truncate } }
!{ dg-do run }
! Tests namelist on logical variables
! provided by Paul Thomas - pault@gcc.gnu.org

View File

@ -1,4 +1,4 @@
!{ dg-do run { target fd_truncate } }
!{ dg-do run }
! Tests character delimiters for namelist write
! provided by Paul Thomas - pault@gcc.gnu.org

View File

@ -1,4 +1,4 @@
!{ dg-do run { target fd_truncate } }
!{ dg-do run }
! Test namelist error trapping.
! provided by Paul Thomas - pault@gcc.gnu.org

View File

@ -1,4 +1,4 @@
!{ dg-do run { target fd_truncate } }
!{ dg-do run }
! Tests namelist io for an explicit shape array with negative bounds
! provided by Paul Thomas - pault@gcc.gnu.org

View File

@ -1,4 +1,4 @@
!{ dg-do run { target fd_truncate } }
!{ dg-do run }
!{ dg-options -std=gnu }
! Tests namelist read when more data is provided then specified by
! array qualifier in list.

View File

@ -1,4 +1,4 @@
! { dg-do run { target fd_truncate } }
! { dg-do run }
! PR30918 Failure to skip commented out NAMELIST
! Before the patch, this read the commented out namelist and iuse would
! equal 2 when done. Test case from PR.

View File

@ -1,4 +1,4 @@
! { dg-do run { target fd_truncate } }
! { dg-do run }
! PR31052 Bad IOSTAT values when readings NAMELISTs past EOF.
! Patch derived from PR, submitted by Jerry DeLisle <jvdelisle@gcc.gnu.org>
program gfcbug61
@ -103,4 +103,4 @@ contains
status = ios
end subroutine read_report
end program gfcbug61
end program gfcbug61

View File

@ -1,4 +1,4 @@
! { dg-do run { target fd_truncate } }
! { dg-do run }
! PR31052 Bad IOSTAT values when readings NAMELISTs past EOF.
! Patch derived from PR, submitted by Jerry DeLisle <jvdelisle@gcc.gnu.org>
program gfcbug61

View File

@ -1,4 +1,4 @@
! { dg-do run { target fd_truncate } }
! { dg-do run }
! PR33039 Read NAMELIST: reads wrong namelist name
! Test case from PR modified by Jerry DeLisle <jvdelisle@gcc.gnu.org>
PROGRAM namelist

View File

@ -1,4 +1,4 @@
! { dg-do run { target fd_truncate } }
! { dg-do run }
! PR33253 namelist: reading back a string, also fixed writing with delimiters.
! Test case modified from that of the PR by
! Jerry DeLisle <jvdelisle@gcc.gnu.org>

View File

@ -1,4 +1,4 @@
! { dg-do run { target fd_truncate } }
! { dg-do run }
! PR33421 and PR33253 Weird quotation of namelist output of character arrays
! Test case from Toon Moone, adapted by Jerry DeLisle <jvdelisle@gcc.gnu.org>

View File

@ -1,4 +1,4 @@
! { dg-do run { target fd_truncate } }
! { dg-do run }
! PR33672 Additional runtime checks needed for namelist reads
! Submitted by Jerry DeLisle <jvdelisle@gcc.gnu.org>

View File

@ -1,4 +1,4 @@
! { dg-do run { target fd_truncate } }
! { dg-do run }
! { dg-options "-mieee" { target alpha*-*-* sh*-*-* } }
! { dg-skip-if "NaN not supported" { spu-*-* } { "*" } { "" } }
!

View File

@ -1,4 +1,4 @@
! { dg-do run { target fd_truncate } }
! { dg-do run }
!
! PR fortran/34530
!

View File

@ -1,4 +1,4 @@
! { dg-do run { target fd_truncate } }
! { dg-do run }
! PR35617 read namelist error with '!'
program test
character(len=128) :: mhdpath

View File

@ -1,4 +1,4 @@
! { dg-do run { target fd_truncate } }
! { dg-do run }
! PR35627 Namelist read problem with short logical followed by read real
program test
implicit none

View File

@ -1,4 +1,4 @@
! { dg-do run { target fd_truncate } }
! { dg-do run }
module nml_47
type :: mt

View File

@ -1,4 +1,4 @@
! { dg-do run { target fd_truncate } }
! { dg-do run }
! { dg-options "-fbackslash" }
! PR36538 namelist failure with tabs preceding object name
program check1

View File

@ -1,4 +1,4 @@
! { dg-do run { target fd_truncate } }
! { dg-do run }
! { dg-options "-fbackslash" }
! PR36546 Namelist error with tab following a comma and newline
program check1

View File

@ -1,4 +1,4 @@
! { dg-do run { target fd_truncate } }
! { dg-do run }
! PR36657 Namelist string constant immediately followed by comment
program gfcbug79
implicit none

View File

@ -1,4 +1,4 @@
! { dg-do run { target fd_truncate } }
! { dg-do run }
! PR36676 Namelist comment problems
! test case from PR, reduced by Jerry DeLisle <jvdelisle@gcc.gnu.org>
program mem_nml

View File

@ -1,4 +1,4 @@
! { dg-do run { target fd_truncate } }
! { dg-do run }
! PR36582 Namelist I/O error: Bogus "Cannot match namelist object"
! Test case derived from PR.
module mod1

View File

@ -1,4 +1,4 @@
! { dg-do run { target fd_truncate } }
! { dg-do run }
! PR37707 Namelist read of array of derived type incorrect
! Test case from Tobias Burnus
IMPLICIT NONE

View File

@ -1,4 +1,4 @@
! { dg-do run { target fd_truncate } }
! { dg-do run }
! { dg-options "-O0" }
! Test patch for PR24416.f90 - a used to come back from the read with var
! prepended.

View File

@ -1,4 +1,4 @@
! { dg-do run { target fd_truncate } }
! { dg-do run }
! This tests the fix for PR22010, where namelists were not being written to
! and read back from modules. It has two namelists: one that is USE
! associated and another that is concatenated by USE and host association.

View File

@ -1,4 +1,4 @@
! { dg-do run { target fd_truncate } }
! { dg-do run }
! This tests the fix for PR22010, where namelists were not being written to
! and read back from modules. It checks that namelists from modules that are
! selected by an ONLY declaration work correctly, even when the variables in

View File

@ -1,4 +1,4 @@
! { dg-do run { target fd_truncate } }
! { dg-do run }
! PR 20774: Handle size parameter for non-advancing I/O correctly
program main
open(77,status='scratch')

View File

@ -1,4 +1,4 @@
! { dg-do run { target fd_truncate } }
! { dg-do run }
! Testcase for the GNU extension OPEN(...,ACCESS="APPEND")
open (10,file="foo")
close (10,status="delete")

View File

@ -1,4 +1,4 @@
! { dg-do run { target fd_truncate } }
! { dg-do run }
! Test correct operation for pad='no'.
program main
character(len=1) line(2)

View File

@ -1,4 +1,4 @@
c { dg-do run { target fd_truncate } }
c { dg-do run }
c pr 12884
c test namelist with input file containg / before namelist. Also checks
c non-standard use of $ instead of &

View File

@ -1,4 +1,4 @@
! { dg-do run { target fd_truncate } }
! { dg-do run }
! pr 17090 Runtime I/O error
! bdavis9659@comcast.net
! 9/12/2004

View File

@ -1,4 +1,4 @@
! { dg-do run { target fd_truncate } }
! { dg-do run }
! pr 17285
! Test that namelist can read its own output.
! At the same time, check arrays and different terminations

View File

@ -1,4 +1,4 @@
! { dg-do run { target fd_truncate } }
! { dg-do run }
! PR17286
! Namelist read failed when spaces exist between the '=' and the numbers
! This is a libgfortran bug

View File

@ -1,4 +1,4 @@
! { dg-do run { target fd_truncate } }
! { dg-do run }
! test namelist with scalars and arrays.
! Based on example provided by thomas.koenig@online.de

View File

@ -1,4 +1,4 @@
! { dg-do run { target fd_truncate } }
! { dg-do run }
! Names in upper case and object names starting column 2
! Based on example provided by thomas.koenig@online.de

View File

@ -1,4 +1,4 @@
! { dg-do run { target fd_truncate } }
! { dg-do run }
! pr 18392
! test namelist with derived types
! Based on example provided by thomas.koenig@online.de

View File

@ -1,4 +1,4 @@
! { dg-do run { target fd_truncate } }
! { dg-do run }
!
! PR libfortran/19155
! We accept 'E+00' as a valid real number. The standard says it is not,

View File

@ -1,5 +1,5 @@
! PR libfortran/19216
! { dg-do run { target fd_truncate } }
! { dg-do run }
integer dat(3), i, j
data dat / 3,2,1 /

View File

@ -1,4 +1,4 @@
! { dg-do run { target fd_truncate } }
! { dg-do run }
! pr 19467
! test namelist with character arrays
! Based on example provided by paulthomas2@wanadoo.fr

Some files were not shown because too many files have changed in this diff Show More