… | |
… | |
50 | #endif |
50 | #endif |
51 | |
51 | |
52 | #define func_const attribute ((const)) |
52 | #define func_const attribute ((const)) |
53 | #define func_pure attribute ((pure)) |
53 | #define func_pure attribute ((pure)) |
54 | #define func_hot attribute ((hot)) // 4.x |
54 | #define func_hot attribute ((hot)) // 4.x |
55 | #define func_cold attribute ((cold) // 4.x |
55 | #define func_cold attribute ((cold)) // 4.x |
56 | |
56 | |
57 | #if GCC_VERSION(4,5) |
57 | #if GCC_VERSION(4,5) |
58 | # define unreachable() __builtin_unreachable () |
58 | # define unreachable() __builtin_unreachable () |
59 | #else |
59 | #else |
60 | // this seems to work fine, but gcc always emits a warning for it :/ |
60 | // this seems to work fine, but gcc always emits a warning for it :/ |