[Bug fortran/35732] -fbounds-check: LHS/RHS size mismatch: Misleading error message
jvdelisle at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon May 25 03:07:00 GMT 2009
------- Comment #8 from jvdelisle at gcc dot gnu dot org 2009-05-25 03:07 -------
Subject: Bug 35732
Author: jvdelisle
Date: Mon May 25 03:07:00 2009
New Revision: 147842
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=147842
Log:
2009-05-24 Jerry DeLisle <jvdelisle@gcc.gnu.org>
Dominique Dhumieres
PR fortran/35732
PR fortran/39872
* trans-array.c (gfc_conv_ss_startstride): Add one to index.
* gfortran.dg/bounds_check_fail_3.f90: New test.
* gfortran.dg/bounds_check_fail_4.f90: New test.
* gfortran.dg/bounds_check_14.f90: Update test.
* gfortran.dg/bound_4.f90: Update test.
Added:
trunk/gcc/testsuite/gfortran.dg/bounds_check_fail_3.f90
trunk/gcc/testsuite/gfortran.dg/bounds_check_fail_4.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/trans-array.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gfortran.dg/bound_4.f90
trunk/gcc/testsuite/gfortran.dg/bounds_check_14.f90
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35732
More information about the Gcc-bugs
mailing list