2006-05-28 Thomas Koenig <Thomas.Koenig@online.de>
commit076901c30aebfad3f647022acf62d67229cfa8ff
authortkoenig <tkoenig@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 28 May 2006 20:25:15 +0000 (28 20:25 +0000)
committertkoenig <tkoenig@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 28 May 2006 20:25:15 +0000 (28 20:25 +0000)
treed10973bffbe6cff83f2b74ebd3c5762ac2392da0
parentd81d63f7421b34985e24c10735fc2a373e6abbcb
2006-05-28  Thomas Koenig  <Thomas.Koenig@online.de>

* intrinsics/string_intrinsics.c (compare_string):
Use memcmp instead of strncmp to avoid tripping over
CHAR(0) in a string.

2006-05-28  Thomas Koenig  <Thomas.Koenig@online.de>

* gfortran.dg/string_null_compare_1.f:  New test case.

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