1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +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

@ -21,6 +21,7 @@
#undef memset
void *
inhibit_loop_to_libcall
memset (dstpp, c, len)
void *dstpp;
int c;