This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: Question WRT gfortran.dg/allocatable_function_1.f90
On Mon, Nov 27, 2006 at 12:02:18AM +0200, erik.edelmann@iki.fi wrote:
> Wild guess: without -fbounds-check, gfortran calculates only the shape of
> the RHS and assumes that the shape of LHS is the same, but is using a more
> literal interpretation when -fbounds-check is used.
That last part of that sentence perhaps became a bit wierd. What I meant
was that with -fbounds-check, gfortran calculates the shapes of both LHS
and RHS to check that they are the same (as it should).
Erik