aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2010-07-03 06:07:59 +0000
committerHans-Peter Nilsson <hp@gcc.gnu.org>2010-07-03 06:07:59 +0000
commitd9e7913ca2c622a9044471b04f744129250400e0 (patch)
tree177d25f0131b571d924f0a1206d71fe711a2a363
parent3f59fa1c963695016894e5205539f8f45a0c4e69 (diff)
downloadgcc-d9e7913ca2c622a9044471b04f744129250400e0.zip
gcc-d9e7913ca2c622a9044471b04f744129250400e0.tar.gz
gcc-d9e7913ca2c622a9044471b04f744129250400e0.tar.bz2
* gfortran.dg/char_bounds_check_fail_1.f90: Correct dg-output string.
From-SVN: r161767
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/gfortran.dg/char_bounds_check_fail_1.f902
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index ea3e856..6c6f1d0 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2010-07-03 Hans-Peter Nilsson <hp@axis.com>
+
+ * gfortran.dg/char_bounds_check_fail_1.f90: Correct dg-output string.
+
2010-07-02 Le-Chun Wu <lcwu@google.com>
PR/44128
diff --git a/gcc/testsuite/gfortran.dg/char_bounds_check_fail_1.f90 b/gcc/testsuite/gfortran.dg/char_bounds_check_fail_1.f90
index 2dcc826..15d7021 100644
--- a/gcc/testsuite/gfortran.dg/char_bounds_check_fail_1.f90
+++ b/gcc/testsuite/gfortran.dg/char_bounds_check_fail_1.f90
@@ -10,4 +10,4 @@ program bound_check
zz(i:j) = 'abcdef'
print * , zz
end
-! { dg-output "Substring out of bounds: upper bound exceeds string length.*at line 9)" }
+! { dg-output "At line 10.*Substring out of bounds: upper bound \\(11\\) of 'zz' exceeds string length" }