Maybe this should got into its own file, like `core/include/attributes.h`, since there might be other facilities to provide this attribute in other compilers.
Since C99 you can use `#pragma`s in `#defines` (`_Pragma`). Also there are a few more attributes that might be helpful as well (e.g. [`const`/`pure`](http://gcc.gnu.org/onlinedocs/gcc/Function-Attributes.html)).