OSDN Git Service

2006-10-17 Paul Thomas <pault@gcc.gnu.org>
authorpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 16 Oct 2006 22:29:46 +0000 (22:29 +0000)
committerpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 16 Oct 2006 22:29:46 +0000 (22:29 +0000)
commite7cf683e32bd972f5612bd4640c37bf60d3b53e6
tree36463b2afe69cf810cf47a28df21f64d27c408bc
parentf4fc810b502218ef2708337c8c791573025d94ca
2006-10-17  Paul Thomas <pault@gcc.gnu.org>

PR fortran/20541
* trans-array.c (gfc_trans_array_bounds): Test for and set
negative stride of a non-constant bound array to zero.

PR fortran/29392
* data.c (create_character_intializer): Copy and simplify
the expressions for the start and end of a sub-string
reference.

2006-10-17  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/29392
* gfortran.dg/data_char_3.f90: New test.

PR fortran/20541
* gfortran.dg/negative_automatic_size.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@117797 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/data.c
gcc/fortran/trans-array.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/data_char_3.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/negative_automatic_size.f90 [new file with mode: 0644]