[Bug fortran/31732] [4.3 regression] Assignment to array slice affects whole array

tkoenig at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue May 1 13:12:00 GMT 2007



------- 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



More information about the Gcc-bugs mailing list