diff options
-rw-r--r-- | gcc/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/testsuite/gfortran.dg/bounds_check_10.f90 | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 83f025c..157d227 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,9 +1,13 @@ +2007-10-14 Tobias Burnus <burnus@gcc.gnu.org> + + * gfortran.dg/bounds_check_10.f90: Fix testcase. + 2007-10-13 Tobias Schlüter <tobi@gcc.gnu.org> Paul Thomas <pault@gcc.gnu.org> PR fortran/33254 PR fortran/33727 - * bounds_check_10.f90: New. + * gfortran.dg/bounds_check_10.f90: New. 2007-10-13 David Edelsohn <edelsohn@gnu.org> diff --git a/gcc/testsuite/gfortran.dg/bounds_check_10.f90 b/gcc/testsuite/gfortran.dg/bounds_check_10.f90 index 02101af..3aba1cb 100644 --- a/gcc/testsuite/gfortran.dg/bounds_check_10.f90 +++ b/gcc/testsuite/gfortran.dg/bounds_check_10.f90 @@ -8,7 +8,7 @@ character (len=2) :: x, y character (len=2) :: z(3) x = "a " y = "cd" -z = [y(1:1), x(1:len(trim(x)))] ! should work +z = [y(1:1), y(1:1), x(1:len(trim(x)))] ! should work z = [trim(x), trim(y), "aaaa"] ! [ "a", "cd", "aaaa" ] should catch first error end program array_char |