Re:Defining the Undefinedness of C (2015) [pdf]
by dragonwriter on Wednesday July 26, 2017 @07:45PM
(#14861409)
No, undefined behavior is still valid C (if it wasn't, it would be an invalid construct, not a valid conatruct with UB.)
It's just C whose actual behavior is unspecified (and, because the standard is outright perverse, makes the entire program's behavior undefined) by the standard and, if you are especially lucky, explicitly defined by the particular C implementation. But maybe not even then.
It's just C whose actual behavior is unspecified (and, because the standard is outright perverse, makes the entire program's behavior undefined) by the standard and, if you are especially lucky, explicitly defined by the particular C implementation. But maybe not even then.