https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107931
--- Comment #14 from ishikawa,chiaki <ishikawa at yk dot rim.or.jp> --- (In reply to Andrew Pinski from comment #13) > (In reply to ishikawa,chiaki from comment #11) > > What is exactly the compiler-defined macro when "-Og" is used on the command > > line? > > There is not one ... Thank you for the information. I see we may have to create a protocol by creating a commonly used macro to handle the situation. The bugzilla I created at mozilla is https://bugzilla.mozilla.org/show_bug.cgi?id=1817565 And the code seems to be a third party code and I was advised to report the issue to the originating github also. I will. Thank you again. PS: Given the manual description, it could be gcc-10 and gcc-11 may not have inlined the functions, but the errors were not reported as such. Oh well.