News for hackers. Stuff that matters.
Re:Undefined behavior in C is a reading error by optymizer on Thursday May 20, 2021 @02:40PM (#27225300)
Point taken about NPEs being defined behavior, but from a practical point of view, a bug is a bug (and bugs is what the parent comment was referring to).

Whether the bug was due to a well-defined or undefined behavior seems like an exercise in assigning blame to another entity (the language, the committee, the compiler, etc).

Re:Undefined behavior in C is a reading error by jerf on Thursday May 20, 2021 @03:57PM (#27226329)
Correct assignment of (technical) blame is an important engineering task, though. You sound to me like you are thinking that's some sort of wrong thing to do, but I would disagree. Identifying whether the bug is a defined (in C) behavior or the result of the compiler making a certain choice as the result of your code invoking undefined behavior is an important element of fixing the bug; if you don't know which is which you're operating under a critical handicap.