https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125504
--- Comment #4 from services+gccbugs at vasama dot org --- Yes, Clang also diagnoses this, which seems weird to me because I never encountered issues in practice using Clang. >From what I can tell, the situation described in the commit you linked is a little different though. There, an always_inline function is inlined into a no_sanitize_address caller. In my case it is the caller that is both always_inline and no_sanitize_address. Anyway, if you think this is also by design, then feel free to close the report.
