SDCC allows static objects, and calls to static inline functions in non-static inline functions. This is a constraint violation in C23, requiring a diagnostic. IMO, we should emit a warning for these (our current semantics are fine (except for [bugs:#3877]), and compatible with the future C2y standard).