This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/27786] [4.1 only] Bad interaction between Cray pointer, assumed-size array and bounds checking
- From: "langton at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Jun 2006 23:07:26 -0000
- Subject: [Bug fortran/27786] [4.1 only] Bad interaction between Cray pointer, assumed-size array and bounds checking
- References: <bug-27786-10259@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla 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=gcc&view=rev&rev=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