re PR fortran/80442 (Rejects DATA statement with array slice)
authorNicolas Koenig <koenigni@student.ethz.ch>
Sat, 13 May 2017 23:38:36 +0000 (01:38 +0200)
committerNicolas Koenig <koenigni@gcc.gnu.org>
Sat, 13 May 2017 23:38:36 +0000 (23:38 +0000)
commit28ae01cd23d05ce79307db054782e576ab01f3b7
tree3ca978cfd162f79396bf4315f9080c971680cedb
parent364490206eaee4e4da9f66e63169cc0c0ddfe40e
re PR fortran/80442 (Rejects DATA statement with array slice)

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

From-SVN: r248012
gcc/fortran/ChangeLog
gcc/fortran/array.c
gcc/fortran/data.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/impl_do_var_data.f90 [new file with mode: 0644]