OSDN Git Service

fortran/
authortobi <tobi@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 2 Sep 2007 15:04:11 +0000 (15:04 +0000)
committertobi <tobi@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 2 Sep 2007 15:04:11 +0000 (15:04 +0000)
commite5c6dbbbe748c37b9e4410df3f2407e02cae6b97
treeb1033e746be3cb7c89de5e10ac9e96f485193407
parentd563bffdb5c1f6c8f2d9e8019960bf85d2c0c44a
fortran/
* dump-parse-tree.c (show_char_const): New function.
(gfc_show_expr): Use it.
* expr.c (find_substring_ref): Rework to not keep characters
dangling beyond end of string.
testsuite/
* gfortran.dg/substr_6.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128027 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/dump-parse-tree.c
gcc/fortran/expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/substr_6.f90 [new file with mode: 0644]