Y
Hacker News
new
|
ask
|
show
|
jobs
by
haberman
4890 days ago
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)
1 comments
mikeash
4890 days ago
Regardless of undefined behavior, it should not crash the compiler.
link
haberman
4890 days ago
Ah, I missed that it can crash the tcc
compiler
. Yeah, that's a bug.
link
mikeash
4890 days ago
Probably easy to miss. One really does not expect the compiler to crash on code like that.
link