[Bug fortran/27786] [4.1 only] Bad interaction between Cray pointer, assumed-size array and bounds checking

2006-06-15 Thread langton at gcc dot gnu dot org


--- Comment #6 from langton at gcc dot gnu dot org  2006-06-15 23:07 ---
Subject: Bug 27786

Author: langton
Date: Thu Jun 15 23:07:14 2006
New Revision: 114692

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=114692
Log:
PR fortran/27786
* cray_pointers_2.f90: Add -fbounds-check compile flag.

PR fortran/27786
* trans-array.c (gfc_conv_array_ref): Eliminate bounds checking
for assumed-size Cray pointees.


Modified:
branches/gcc-4_1-branch/gcc/fortran/ChangeLog
branches/gcc-4_1-branch/gcc/fortran/trans-array.c
branches/gcc-4_1-branch/gcc/testsuite/ChangeLog
branches/gcc-4_1-branch/gcc/testsuite/gfortran.dg/cray_pointers_2.f90


-- 


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



[Bug fortran/27786] [4.1 only] Bad interaction between Cray pointer, assumed-size array and bounds checking

2006-06-15 Thread langton at gcc dot gnu dot org


--- Comment #7 from langton at gcc dot gnu dot org  2006-06-15 23:11 ---
I've backported the patch to 4.1, so this bug should be resolved.


-- 

langton at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution||FIXED


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



[Bug fortran/27786] [4.1 only] Bad interaction between Cray pointer, assumed-size array and bounds checking

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


--- Comment #5 from fxcoudert at gcc dot gnu dot org  2006-06-09 06:43 
---
I'm reopening the PR because the bug is not fixed yet on the 4.1 branch. The
current policy is to allow a week before comitting your patch to 4.1 (after
bootstrap  regtesting), and then close the bugzilla PR.

(in case you need info on how to use svn to backport a patch, you can read
http://gcc.gnu.org/wiki/SvnMerge)


-- 

fxcoudert at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
   Keywords||patch
  Known to fail||4.1.2
  Known to work||4.2.0
 Resolution|FIXED   |
Summary|Bad interaction between Cray|[4.1 only] Bad interaction
   |pointer, assumed-size array |between Cray pointer,
   |and bounds checking |assumed-size array and
   ||bounds checking


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