Commit 010dc0fd by Tobias Burnus Committed by Tobias Burnus

(This part was missing in the r118852 / Wed Nov 15 10:13:16 2006 check in)

2007-01-31  Tobias Burnus  <burnus@net-b.de>

        PR fortran/27588
        * gfortran.dg/char_bounds_check_fail_1.f90: Add test.

From-SVN: r121401
parent 9bce3c1c
2007-01-31 Tobias Burnus <burnus@net-b.de>
PR fortran/27588
* gfortran.dg/char_bounds_check_fail_1.f90: Add test.
2007-01-31 Tobias Burnus <burnus@net-b.de>
PR fortran/30520
* gfortran.dg/volatile8.f90: New argument conformance test.
* gfortran.dg/volatile9.f90: New scope test.
! { dg-do run }
! { dg-options "-fbounds-check" }
! { dg-shouldfail "Substring out of bounds check" }
! PR fortran/27588
program bound_check
character*10 zz
i = 2
j = i+9
zz(i:j) = 'abcdef'
print * , zz
end
! { dg-output "Substring out of bounds: upper bound exceeds string length.*at line 9)}
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