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/80442] Rejects DATA statement with array slice


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80442

--- Comment #2 from Nicolas Koenig <koenigni at gcc dot gnu.org> ---
Author: koenigni
Date: Sat May 13 23:38:36 2017
New Revision: 248012

URL: https://gcc.gnu.org/viewcvs?rev=248012&root=gcc&view=rev
Log:

2017-05-09  Nicolas Koenig  <koenigni@student.ethz.ch>

        PR fortran/80442
        * array.c (gfc_ref_dimen_size): Simplify stride
        expression
        * data.c (gfc_advance_section): Simplify start,
        end and stride expressions
        (gfc_advance_section): Simplify start and end
        expressions
        (gfc_get_section_index): Simplify start expression 

2017-05-09  Nicolas Koenig  <koenigni@student.ethz.ch>

        PR fortran/80442
        * gfortran.dg/impl_do_var_data.f90: New Test


Added:
    trunk/gcc/testsuite/gfortran.dg/impl_do_var_data.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/array.c
    trunk/gcc/fortran/data.c
    trunk/gcc/testsuite/ChangeLog

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