Re:IDIV DoS (INT_MIN / -1)
by haberman on Sunday January 27, 2013 @08:43PM
(#5126607)
It's not a bug, it's intended to be undefined behavior; see http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html... (issue 1450)
[ Parent
| on HN ]
Regardless of undefined behavior, it should not crash the compiler.
Ah, I missed that it can crash the tcc compiler. Yeah, that's a bug.