summaryrefslogtreecommitdiff
path: root/third_party/newlib/string/local.h
blob: 3c35e1aebc5f44bf8f437b356114cdbc66545b50 (plain)
1
2
3
4
5
6
7
8
/*
   Taken from glibc:
   Add the compiler optimization to inhibit loop transformation to library
   calls.  This is used to avoid recursive calls in memset and memmove
   default implementations.
*/
#define __inhibit_loop_to_libcall \
  __attribute__ ((__optimize__ ("-fno-tree-loop-distribute-patterns")))