This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]