OSDN Git Service

2009-03-28 Daniel Kraft <d@domob.eu>
authordomob <domob@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 28 Mar 2009 15:18:59 +0000 (15:18 +0000)
committerdomob <domob@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 28 Mar 2009 15:18:59 +0000 (15:18 +0000)
commit8876d8a8b8f21fdfa1450242307a3336747ee329
treeedcb71475fc72529d3a9569925700265df2ab20f
parent6cb239e58edfbd2415d13174a559c947d0d7b488
2009-03-28  Daniel Kraft  <d@domob.eu>

* intrinsics/string_intrinsics.c: #include <assert.h>
* intrinsics/string_intrinsics_inc.c (string_trim): Use string_len_trim
instead of calculating the length directly.
(string_len_trim): For KIND=1, speed search up.

2009-03-28  Daniel Kraft  <d@domob.eu>

* gfortran.dg/trim_1.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145192 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/trim_1.f90 [new file with mode: 0644]
libgfortran/ChangeLog
libgfortran/intrinsics/string_intrinsics.c
libgfortran/intrinsics/string_intrinsics_inc.c