OSDN Git Service

2011-08-29 Thomas Koenig <tkoenig@gcc.gnu.org>
authortkoenig <tkoenig@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 29 Aug 2011 09:05:11 +0000 (09:05 +0000)
committertkoenig <tkoenig@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 29 Aug 2011 09:05:11 +0000 (09:05 +0000)
commitf7b7ab453b2d6fd0111e4352c9f077b390b88498
tree1ab46c59fd14bef08ca5c2d0391ae644d39ae997
parent3048a5c0bc47f77c8b3565a172b34e921e9ae87f
2011-08-29  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR libfortran/50192
* intrinsics/string_intrinsics.c (memcmp_char4):  New function.
* intrinsics/string_intrinsics_inc.c:  New macro MEMCMP, either
set to memcmp or memcmp_char4.
(compare_string):  Use MEMCMP, with correct size for it.
* libgfortran.h:  Add prototype for memcmp_char4.

2011-08-29  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR libfortran/50192
* gfortran.dg/widechar_compare_1.f90:  New test.

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