diff options
author | Thomas Koenig <tkoenig@gcc.gnu.org> | 2013-03-30 10:19:02 +0000 |
---|---|---|
committer | Thomas Koenig <tkoenig@gcc.gnu.org> | 2013-03-30 10:19:02 +0000 |
commit | 01446eb82c798ed19f8930dd3470f9d77522c22e (patch) | |
tree | 2268fa99cea63797dc549729fa965505d884280a /gcc/final.c | |
parent | 032951216cf00d9609fbba89186331bd7b4d9efd (diff) | |
download | gcc-01446eb82c798ed19f8930dd3470f9d77522c22e.zip gcc-01446eb82c798ed19f8930dd3470f9d77522c22e.tar.gz gcc-01446eb82c798ed19f8930dd3470f9d77522c22e.tar.bz2 |
trans-expr.c (build_memcmp_call): New function.
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-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.
From-SVN: r197261
Diffstat (limited to 'gcc/final.c')
0 files changed, 0 insertions, 0 deletions