re PR fortran/27965 (invalid "Array bound mismatch" runtime error)
authorFrancois-Xavier Coudert <coudert@clipper.ens.fr>
Fri, 16 Jun 2006 17:03:43 +0000 (19:03 +0200)
committerFrançois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Fri, 16 Jun 2006 17:03:43 +0000 (17:03 +0000)
commitef31fe62574cdc2b6e210c655377b7c161de225c
tree6a56f0f48524b0362136c39a3e17b13fd64e5701
parent1af8dcbf0b77a3e7e99c586f5e6673eead8b53b1
re PR fortran/27965 (invalid "Array bound mismatch" runtime error)

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.

From-SVN: r114724
gcc/fortran/ChangeLog
gcc/fortran/trans-array.c