Changes in kernel/generic/include/lib/memfnc.h [797d4d19:630b9d35] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/lib/memfnc.h
r797d4d19 r630b9d35 39 39 #include <cc.h> 40 40 41 #ifdef CONFIG_LTO 42 #define DO_NOT_DISCARD ATTRIBUTE_USED 43 #else 44 #define DO_NOT_DISCARD 45 #endif 46 41 47 extern void *memset(void *, int, size_t) 42 ATTRIBUTE_OPTIMIZE("-fno-tree-loop-distribute-patterns") ;48 ATTRIBUTE_OPTIMIZE("-fno-tree-loop-distribute-patterns") DO_NOT_DISCARD; 43 49 extern void *memcpy(void *, const void *, size_t) 44 ATTRIBUTE_OPTIMIZE("-fno-tree-loop-distribute-patterns") ;50 ATTRIBUTE_OPTIMIZE("-fno-tree-loop-distribute-patterns") DO_NOT_DISCARD; 45 51 46 52 #endif
Note:
See TracChangeset
for help on using the changeset viewer.