https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96628
--- Comment #5 from Rafaƫl Kooi <rafael_andreas at hotmail dot com> --- This is not a duplicate, as this first and foremost is a feature request. memset and other functions like this are not the only candidates where this attribute is useful. The attribute moves complexity out of the build system, and increases portability, and also increases compatibility with clang. Please reopen.