2013-03-30 Thomas Koenig <tkoenig@gcc.gnu.org>
authortkoenig <tkoenig@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 30 Mar 2013 10:23:09 +0000 (10:23 +0000)
committertkoenig <tkoenig@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 30 Mar 2013 10:23:09 +0000 (10:23 +0000)
* fortran/ChangeLog:  Add commit message from rev. 197261
* testsuite/ChangeLog:  Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197262 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/fortran/ChangeLog
gcc/testsuite/ChangeLog

index ab23bca..7284c2c 100644 (file)
@@ -1,3 +1,11 @@
+2013-03-30  Thomas Koenig  <tkoenig@gcc.gnu.org>
+
+       * trans-expr.c (build_memcmp_call):  New function.
+       (gfc_build_compare_string):  If the strings
+       compared have constant and equal lengths and
+       the strings are kind=1, or, for kind=4 strings,
+       the test is for (in)equality, use memcmp().
+
 2013-03-29  Tobias Burnus  <burnus@net-b.de>
 
        PR fortran/35203
index 776a031..a152083 100644 (file)
@@ -1,3 +1,10 @@
+2013-03-30  Thomas Koenig  <tkoenig@gcc.gnu.org>
+
+       * gfortran.dg/character_comparison_3.f90:  Adjust for use of memcmp
+       for constant and equal string lengths.
+       * gfortran.dg/character_comparison_5.f90:  Likewise.
+       * gfortran.dg/character_comparison_9.f90:  New test.
+
 2013-03-27  Kirill Yukhin  <kirill.yukhin@intel.com>
 
        * gcc.target/i386/avx2-vbroadcastsi128-1.c: Fix intrinsic name.