diff options
author | Adhemerval Zanella <azanella@linux.vnet.ibm.com> | 2013-06-20 19:40:55 -0500 |
---|---|---|
committer | Adhemerval Zanella <azanella@linux.vnet.ibm.com> | 2013-06-20 19:42:05 -0500 |
commit | 85c2e6110c9a01ec817c30f1b7e20549d7229987 (patch) | |
tree | 9b044403d906f9aaa6930484ae6d60dc687ecc19 /string/test-memset.c | |
parent | b8c792af85fe3ff65c0cd68e2f291072a60cd953 (diff) | |
download | glibc-85c2e6110c9a01ec817c30f1b7e20549d7229987.zip glibc-85c2e6110c9a01ec817c30f1b7e20549d7229987.tar.gz glibc-85c2e6110c9a01ec817c30f1b7e20549d7229987.tar.bz2 |
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.
Diffstat (limited to 'string/test-memset.c')
-rw-r--r-- | string/test-memset.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/string/test-memset.c b/string/test-memset.c index 9981fce..72a390e 100644 --- a/string/test-memset.c +++ b/string/test-memset.c @@ -64,6 +64,7 @@ builtin_memset (char *s, int c, size_t n) #endif char * +inhibit_loop_to_libcall simple_memset (char *s, int c, size_t n) { char *r = s, *end = s + n; |