https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86259
--- Comment #43 from Alejandro Colomar <alx at kernel dot org> --- GCC's manual also doesn't seem to document any deviation from ISO C rules regarding mem*() functions. It would be good to document what is the GCC interpretation of ISO C regarding those rules, and what GCC considers extensions. And it would also be interesting to note the reason for such extensions being old code, and that the idea is getting rid of them at some point, maybe as default, or maybe via some flags such as -fprovenance. If str*() functions got the same exception recently, it would also be good to mention that.