Commit 13ce12eb by Paul Thomas

re PR fortran/31538 (misleading bounds check error)

2007-04-11  Paul Thomas  <pault@gcc.gnu.org>

	PR testsuite/31538
	* gfortran.dg/result_in_spec_1.f90: Increase dimension from 2
	to 4 at line 38 to fix bounds problem.

From-SVN: r123725
parent 0f4b25a3
2007-04-11 Paul Thomas <pault@gcc.gnu.org>
PR testsuite/31538
* gfortran.dg/result_in_spec_1.f90: Increase dimension from 2
to 4 at line 38 to fix bounds problem.
2007-04-11 Tobias Burnus <burnus@net-b.de>
PR testsuite/31240
......@@ -35,7 +35,7 @@ program test
if (any (myfunc (test2(1)) .ne. "ABC")) call abort ()
contains
function myfunc (ch) result (chr)
character(len(ch)) :: chr(2)
character(len(ch)) :: chr(4)
character (*) :: ch(:)
if (len (ch) .ne. 3) call abort ()
if (any (ch .ne. "ABC")) call abort ()
......
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