Errors From Another Planet–GCC vs. Clang Illegal Instruction

Sometimes when I get difficult-to-read output from GCC, I’ll switch to Clang for a little more human-readable output. In rare instances, Clang will give me different results at runtime. For instance, a function with a non-void return type that doesn’t have a return statement will crash a program built with Clang, but not GCC. If […]