--- Comment #3 from pault at gcc dot gnu dot org 2007-04-11 22:48 ---
Subject: Bug 31538
Author: pault
Date: Wed Apr 11 22:48:15 2007
New Revision: 123725
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=123725
Log:
2007-04-11 Paul Thomas <[EMAIL PROTECTED]>
PR testsuit
--- Comment #2 from paulthomas2 at wanadoo dot fr 2007-04-11 21:05 ---
Subject: Re: result_in_spec_1.f90: Invalid write
Tobias,
> however, test(1) returns an array of the size (2*1+1)+1 = 4.
>
Thanks for spotting that one. I'm just in the process of committing the
fix as 'obvious'
--- Comment #1 from burnus at gcc dot gnu dot org 2007-04-11 20:26 ---
Actually, it turned out that this is an out-of-bounds problem:
character(len(ch)) :: chr(2)
chr = test2 (1)
however, test(1) returns an array of the size (2*1+1)+1 = 4.
gfortran's -fbounds-check message is a bi