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:
@ -21,6 +21,7 @@
|
||||
#undef memset
|
||||
|
||||
void *
|
||||
inhibit_loop_to_libcall
|
||||
memset (dstpp, c, len)
|
||||
void *dstpp;
|
||||
int c;
|
||||
|
Reference in New Issue
Block a user