Comment Comment by startling Undefined behavior is not illegal. The compiler can do anything with undefined behavior, including exactly what the author expected. parent startling 10 years ago