63 karma · joined Dec 27, 2021 (4y ago) · 15 submissions
comment 1y ago · link · parent
[0]: https://www.reddit.com/r/dataisbeautiful/comments/e1jrvw/com...
comment 1y ago · link · parent
comment 2y ago · link · parent
comment 2y ago · link · parent
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.
comment 3y ago · link · parent
comment 4y ago · link · parent
comment 4y ago · link · parent
comment 4y ago · link · parent
comment 4y ago · link · parent
https://github.com/Microsoft/vscode-cpptools https://github.com/Microsoft/vscode-python