In contrast, when I write C, I spend far too much time thinking "how do I solve this problem without causing undefined behavior?"
I do dial up the warnings to 11, yet it is not enough.
I've written C code that's currently running on hardware orbiting the earth. I'll never do it again if I can help it; it wasn't worth the stress. You only get one chance to get it right.
I guess in such a situation I would not not trust any compiler (for any programming language), no matter how 'safe' it claims to be, but instead carefully audit and test every single assembly instruction in the compiler output ;)