I think the seL4 kernel rather proves that you can write safe haskell, verify it, and then transpile that to C.
That's different from directly writing C...
That's different from directly writing C...
But I bet you'll end up writing tools to make creating a safe program of any non-trivial size feasible. A large class of these tools is usually called "programming languages".
Anyway, PolarSSL is definitely not transpiled. Its source language is C.
... and your point is?
EDIT: more recent bugs:
These bugs include double-free and use-after-free - which are not covered by the original analysis, right?