This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/31732] [4.3 regression] Assignment to array slice affects whole array
- From: "tkoenig at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 May 2007 13:11:51 -0000
- Subject: [Bug fortran/31732] [4.3 regression] Assignment to array slice affects whole array
- References: <bug-31732-14475@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #8 from tkoenig at gcc dot gnu dot org 2007-05-01 14:11 -------
Subject: Bug 31732
Author: tkoenig
Date: Tue May 1 14:11:36 2007
New Revision: 124326
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=124326
Log:
2007-05-01 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/31732
* dependency.c (gfc_full_array_ref_p): If the reference is
to a single element, check that the array has a single
element and that the correct element is referenced.
2007-05-01 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/31732
* gfortran.dg/array_memset_2: New test case.
Added:
trunk/gcc/testsuite/gfortran.dg/array_memset_2.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/dependency.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31732