[Bug fortran/28129] gfortran -fbounds-check: Shows invalid array out of bounds error

2006-07-24 Thread fxcoudert at gcc dot gnu dot org


--- Comment #5 from fxcoudert at gcc dot gnu dot org  2006-07-24 21:04 
---
Fixed.


-- 

fxcoudert at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
  Known to fail|4.1.2   |
  Known to work|4.2.0   |4.2.0 4.1.2
 Resolution||FIXED
Summary|[4.1 only] gfortran -   |gfortran -fbounds-check:
   |fbounds-check: Shows invalid|Shows invalid array out of
   |array out of bounds error   |bounds error


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



[Bug fortran/28129] gfortran -fbounds-check: Shows invalid array out of bounds error

2006-07-06 Thread fxcoudert at gcc dot gnu dot org


--- Comment #3 from fxcoudert at gcc dot gnu dot org  2006-07-06 20:37 
---
Subject: Bug 28129

Author: fxcoudert
Date: Thu Jul  6 20:37:36 2006
New Revision: 115231

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=115231
Log:
PR fortran/28129

* trans-array.c (gfc_trans_array_bound_check): Add a locus
argument, and use it in the error messages.
(gfc_conv_array_index_offset): Donc perform bounds checking on
the last dimension of assumed-size arrays.

* gfortran.dg/bounds_check_4.f90: New test.

Added:
trunk/gcc/testsuite/gfortran.dg/bounds_check_4.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/trans-array.c
trunk/gcc/testsuite/ChangeLog


-- 


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



[Bug fortran/28129] gfortran -fbounds-check: Shows invalid array out of bounds error

2006-07-05 Thread fxcoudert at gcc dot gnu dot org


--- Comment #2 from fxcoudert at gcc dot gnu dot org  2006-07-05 11:50 
---
I have a patch here: http://gcc.gnu.org/ml/gcc-patches/2006-07/msg00137.html


-- 

fxcoudert at gcc dot gnu dot org changed:

   What|Removed |Added

URL||http://gcc.gnu.org/ml/gcc-
   ||patches/2006-
   ||07/msg00137.html
   Keywords||patch
   Target Milestone|--- |4.1.2


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



[Bug fortran/28129] gfortran -fbounds-check: Shows invalid array out of bounds error

2006-06-22 Thread fxcoudert at gcc dot gnu dot org


--- Comment #1 from fxcoudert at gcc dot gnu dot org  2006-06-22 06:33 
---
Confirmed, I'll look into it.


-- 

fxcoudert at gcc dot gnu dot org changed:

   What|Removed |Added

OtherBugsDependingO||27766
  nThis||
 AssignedTo|unassigned at gcc dot gnu   |fxcoudert at gcc dot gnu dot
   |dot org |org
 Status|UNCONFIRMED |ASSIGNED
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2006-06-22 06:33:02
   date||


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