This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/27965] gfortran gives "Array bound mismatch" for valid program
- From: "fxcoudert at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Jun 2006 17:03:58 -0000
- Subject: [Bug fortran/27965] gfortran gives "Array bound mismatch" for valid program
- References: <bug-27965-1719@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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