Fix loop construction to functions calls
commit5c616c0a75792d2836412d6c4ed5c71e8e754992
authorAdhemerval Zanella <azanella@linux.vnet.ibm.com>
Fri, 21 Jun 2013 00:40:55 +0000 (20 19:40 -0500)
committerRyan S. Arnold <rsa@linux.vnet.ibm.com>
Fri, 26 Jul 2013 17:56:47 +0000 (26 12:56 -0500)
treed662e38ab9072af8da711afaa7fc7decd71c2af7
parent3ca2c50727b3e3e22eb3606135a18c6212f516d2
Fix loop construction to functions calls

Check wheter the compiler has the option -fno-tree-loop-distribute-patterns
to inhibit loop transformation to library calls and uses it on memset
and memmove default implementation to avoid recursive calls.
(backported from commit 85c2e6110c9a01ec817c30f1b7e20549d7229987)

This backport excluded the benchmark tests from the original commit.
ChangeLog
config.h.in
configure
configure.in
include/libc-symbols.h
string/memmove.c
string/memset.c
string/test-memmove.c
string/test-memset.c