Commit 9d953276 by Tobias Schlüter Committed by Tobias Schlüter

data_char_1.f90: Fix typo, add dg-do directive.

* gfortran.dg/data_char_1.f90: Fix typo, add dg-do directive.
* gfortran.dg/direct_io_1.f90: Add dg-do directive.
* gfortran.dg/entry_1.f90: Fix typo, add dg-do directive.
* gfortran.dg/getenv_1.f90: Add dg-do directive.
* gfortran.dg/pr16597.f90, gfortran.dg/pr17143.f90,
gfortran.dg/pr17164.f90: Add missing dg-do directives.

From-SVN: r93994
parent 548414c6
2005-01-20 Tobias Schl"uter <tobias.schlueter@physik.uni-muenchen.de>
* gfortran.dg/data_char_1.f90: Fix typo, add dg-do directive.
* gfortran.dg/direct_io_1.f90: Add dg-do directive.
* gfortran.dg/entry_1.f90: Fix typo, add dg-do directive.
* gfortran.dg/getenv_1.f90: Add dg-do directive.
* gfortran.dg/pr16597.f90, gfortran.dg/pr17143.f90,
gfortran.dg/pr17164.f90: Add missing dg-do directives.
2005-01-20 Kazu Hirata <kazu@cs.umass.edu>
PR tree-optimization/15349
......
! { dg-do run }
! Test character variables in data statements
! Also substrings of cahracter variables.
! PR14976 PR16228
......@@ -8,5 +9,5 @@ program data_char_1
data b(:)(1:4), b(1)(5:5), b(2)(5:5) /'abcdefg', 'hi', 'j', 'k'/
if ((a(1) .ne. 'Hello') .or. (a(2) .ne. 'orld ')) call abort
if ((b(1) .ne. 'adcdl') .or. (b(2) .ne. 'hi l')) call abort
if ((b(1) .ne. 'abcdj') .or. (b(2) .ne. 'hi k')) call abort
end program
! { dg-do run }
! PR 16908
! Segfaulted on second set of writes. We weren't handling partial records
! properly when calculating the file position.
......
! { dg-do run }
! Test alternate entry points in a module procedure
! Also check that references to sibling entry points are resolved correctly.
module m
......@@ -11,7 +12,7 @@ end subroutine
subroutine test1
implicit none
call indidecta (foo)
call indirecta (foo)
call indirectb (bar)
end subroutine
......
! { dg do-run }
! { dg-do run }
! Test the getenv and get_environment_variable intrinsics.
! Ignore the return value because it's not supported/meaningful on all targets
program getenv_1
......
! { dg-do run }
! pr 16597
! libgfortran
! reading a direct access record after it was written did
......
! { dg-do run }
! pr17143
! does not print 2*63 correctly
character*25 l
......
! { dg-do run }
! pr17164
! index aborts when substring is longer than string
implicit none
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment