No. There has been some effort in that direction, somebody proposed a Clang "type sanitizer" patch, but it wasn't merged.
I'm fully in the camp of C plus powerful analysis tools, plus a high-level language (Python or Scheme).
Since powerful analysis tools aren't defined by ISO what they are supposed to be, there are plenty of C compilers that will never get them.
Re:C’s Biggest Mistake (2009)
by Ar-Curunir on Saturday September 12, 2020 @06:29PM
(#24456429)
only if your tests exercise that code path
You can't do compile time bounds checking, if that's what you're implying.
Granted, it's not static analysis, but it should catch most aliasing related errors, no?