Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/lib/memfnc.h

    r630b9d35 r797d4d19  
    3939#include <cc.h>
    4040
    41 #ifdef CONFIG_LTO
    42 #define DO_NOT_DISCARD ATTRIBUTE_USED
    43 #else
    44 #define DO_NOT_DISCARD
    45 #endif
    46 
    4741extern void *memset(void *, int, size_t)
    48     ATTRIBUTE_OPTIMIZE("-fno-tree-loop-distribute-patterns") DO_NOT_DISCARD;
     42    ATTRIBUTE_OPTIMIZE("-fno-tree-loop-distribute-patterns");
    4943extern void *memcpy(void *, const void *, size_t)
    50     ATTRIBUTE_OPTIMIZE("-fno-tree-loop-distribute-patterns") DO_NOT_DISCARD;
     44    ATTRIBUTE_OPTIMIZE("-fno-tree-loop-distribute-patterns");
    5145
    5246#endif
Note: See TracChangeset for help on using the changeset viewer.