So, you’re wondering. Does GCC have a method to inline only particular function calls? No it doesn’t. Therefore, you’re left with the old macro trick if you want to do this.
20180615/DuckDuckGo gcc force inline specific calls
20180615/https://stackoverflow.com/questions/14571593/how-can-i-inline-a-particular-function-call#14571655