4 ms·
There has been very little new undefined behavior added to C recently. The only one I can think of is INT_MIN % -1, but most people seem to think that was a goo
by TorKlingberg 11y ago
There has been very little new undefined behavior added to C recently. The only one I can think of is INT_MIN % -1, but most people seem to think that was a good idea. All compilers were already treating it as UB, even though it wasn't.
http://blog.regehr.org/archives/175 http://blog.regehr.org/archives/175