To me, depending on undefined behavior sounds more like a bug and unclean code then a fault of the compiler. Just because C gives you the power to shoot yourself in the foot doesn&#x27;t make it a compilers error if you do.