------- Comment #3 from deji_aking at yahoo dot ca  2009-04-25 15:32 -------
(In reply to comment #2)
> If you compile the code in comment #1 with '-fbounds-check', you get:
> 
> At line 32 of file pr39894.f90
> Fortran runtime error: Array bound mismatch, size mismatch for dimension 2 of
> array 'listgeonm' (18/999)
>
Thanks, I've seen that too. But bounds checking on the other compilers I have
access to doesn't show any problem. I was hoping gfortran can be smarter in
this situations like this, and use just the first portion of the array on the
right side that fits the shape of the array section on the left of the
assignment statement.


-- 


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

Reply via email to