io.c (check_io_constraints): Don't look at dt->advance->value.charater.string, unless...
authorJakub Jelinek <jakub@redhat.com>
Mon, 27 Mar 2006 12:32:51 +0000 (14:32 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 27 Mar 2006 12:32:51 +0000 (14:32 +0200)
commit8370d5bcb1e3a2fd2445bbc8ee7db50d199e3ad1
tree615542d5e9e2f86f74f8ed1582839fc780eeb790
parent7b9c708f1527051df149a21318aff0b6ba531fa8
io.c (check_io_constraints): Don't look at dt->advance->value.charater.string, unless it is a CHARACTER constant.

* io.c (check_io_constraints): Don't look at
dt->advance->value.charater.string, unless it is a CHARACTER
constant.

* gfortran.dg/advance_2.f90: New test.
* gfortran.dg/advance_3.f90: New test.

From-SVN: r112417
gcc/fortran/ChangeLog
gcc/fortran/io.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/advance_2.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/advance_3.f90 [new file with mode: 0644]