Ontonator
Joined 4 years ago
Karma
63
Submissions
15
Member since
Dec 27
Joined 4 years ago
[0]: https://www.reddit.com/r/dataisbeautiful/comments/e1jrvw/com...
GCC leaves the print there because it must. While undefined behaviour famously can time travel, that’s only if it would actually have occurred in the first place. If the print blocks indefinitely then that division will never execute, and GCC must compile a binary that behaves correctly in that case.
https://github.com/Microsoft/vscode-cpptools https://github.com/Microsoft/vscode-python