https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118005
--- Comment #12 from Alejandro Colomar <alx at kernel dot org> --- (In reply to Sam James from comment #11) > Perhaps it makes sense to only set these when building under a static > analyser then. GCC does itself have some static analysing features via compiler diagnostics, so I want it to have as much information as possible. (This is also why I compile in a loop at all different optimization levels, to have more of them.) Also, I don't consider it a good idea to analyze code that is different than the one being actually compiled. Thus, I very much prefer having inline all the time.