------- Comment #7 from tkoenig at gcc dot gnu dot org  2009-02-21 22:25 -------
Subject: Bug 38914

Author: tkoenig
Date: Sat Feb 21 22:25:06 2009
New Revision: 144362

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=144362
Log:
2008-02-21  Thomas Koenig  <tkoe...@gcc.gnu.org>

        PR fortran/38914
        * array.c (ref_dimen_size):  Rename to gfc_ref_dimen_size,
        make global.  Change function name in error messages.
        (ref_size):  Change ref_dimen_size to gfc_ref_dimen_size.
        (gfc_array_ref_shape):  Likewise.
        * gfortran.h:  Add prototype for gfc_ref_dimen_size.
        * simplify.c (simplify_bound_dim):  Add ref argument.
        If the reference isn't a full array, return one for
        the lower bound and the extent for the upper bound.
        (simplify_bound):  For array sections, take as from the
        argument.  Add reference to all to simplify_bound_dim.

2008-02-21  Thomas Koenig  <tkoe...@gcc.gnu.org>

        PR fortran/38914
        * bound_simplification_2.f90:  New test case.
        * bound_7.f90:  New test case.


Added:
    trunk/gcc/testsuite/gfortran.dg/bound_7.f90
    trunk/gcc/testsuite/gfortran.dg/bound_simplification_2.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/array.c
    trunk/gcc/fortran/gfortran.h
    trunk/gcc/fortran/simplify.c
    trunk/gcc/testsuite/ChangeLog


-- 


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

Reply via email to