1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-01 10:06:57 +03:00

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.
This commit is contained in:
Adhemerval Zanella
2013-06-20 19:40:55 -05:00
parent b8c792af85
commit 85c2e6110c
11 changed files with 86 additions and 0 deletions

View File

@ -47,6 +47,7 @@ IMPL (memmove, 1)
#endif
char *
inhibit_loop_to_libcall
simple_memmove (char *dst, const char *src, size_t n)
{
char *ret = dst;