[Bug fortran/27965] gfortran gives "Array bound mismatch" for valid program

fxcoudert at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Jun 16 17:04:00 GMT 2006



------- Comment #3 from fxcoudert at gcc dot gnu dot org  2006-06-16 17:03 -------
Subject: Bug 27965

Author: fxcoudert
Date: Fri Jun 16 17:03:43 2006
New Revision: 114724

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114724
Log:
        PR fortran/27965
        * trans-array.c (gfc_conv_ss_startstride): Correct the runtime
        conditions for bounds-checking. Check for nonzero stride.
        Don't check the last dimension of assumed-size arrays. Fix the
        dimension displayed in the error message.

Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/trans-array.c


-- 


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



More information about the Gcc-bugs mailing list