zahiraam added a comment. Yes I did compare "inline" with "declspec(inline)" and not with "__attribute((gnu_inline))" and didn't test it whit different specifiers. I can do that. If behavior is different we probably have to add an additional attribute? https://reviews.llvm.org/D32092