News for hackers. Stuff that matters.
Re:The Following Code Causes Segfault in Clang by timshen on Saturday August 02, 2014 @07:21PM (#8126393)
It's nothing to do with standard-conforming or not. A correct implementation shall never crash.
Re:The Following Code Causes Segfault in Clang by Pacabel on Saturday August 02, 2014 @08:45PM (#8126601)
That's a pretty broad and idealistic claim to be making.

"Correctness" itself isn't an absolute. While something either does or does not conform to whatever has been defined as "correct", it's perfectly fine for the defined "correct" behavior in a given situation to be a crash.

In some cases a crash is the best that can be hoped for. Continuing on, even in an attempt to handle the failure more gracefully, can potentially be more harmful than just crashing.

Re:The Following Code Causes Segfault in Clang by mikeash on Saturday August 02, 2014 @09:45PM (#8126718)
I think you're confusing a crash in the generated program with a crash in the compiler itself. The latter is what's happening here.
Re:The Following Code Causes Segfault in Clang by jwatte on Saturday August 02, 2014 @11:06PM (#8126892)
There is lots of undefined behavior that causes crashing, although usually of the target program, not the compiler. Crashing compilers is nothing new though. I can't count how many ICEs I used to run into in certain versions of certain other compilers...