[Bug fortran/33254] Diagnose different string lengths in array constructors at run time

dominiq at lps dot ens dot fr gcc-bugzilla@gcc.gnu.org
Thu Oct 11 14:10:00 GMT 2007



------- Comment #10 from dominiq at lps dot ens dot fr  2007-10-11 14:10 -------
> ... What I menat is the following: after the 
> data has been added to the array, the compiler should use the string 
> length of the array, ...

I agree, this is why I posted the second code with y(1:len(trim(x))),
because the result seems wrong to me. My question was "is this related to this
PR or a different one?" If the answer is yes to the latter, then we probably
need to open a new PR.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33254



More information about the Gcc-bugs mailing list